7 Feb
2009
7 Feb
'09
10:30 a.m.
Knute Johnson a écrit :
I've currently got dovecot running on a Fedora server and I want to move all my mail to my new server running ubuntu. Both use mbox and I have IMAP working in both. Can I just copy the ~user/mail directory and /var/mail/user file and replace them in the new server?
you need to stop any mail delivery or access to avoid corruption or mail loss. This is one of advantages of maildir over mbox.
while copying between servers, use temp files that are on the same partitions as the source/dest files. this way, "mv" is quasi-instantaneous (no file copy).