[Dovecot] Moving Maildir files from multiple Dovecot installs
I currently have Dovecot running on a SuSE SLES 10 mail server with postfix as the MTA and a number of real linux users. I have postfix delivering to Maildir records. We are going to convert to a virtual user/domain system with PostfixAdmin. I have checked out all of our settings and they appear to work well except for a problem with authenticating against mySQL using MD5-Crypt; plaintext works well however.
My question is how to transfer the maildir files from the real users Maildirs to the created virtual users. When creating a mail user PostfixAdmin will create the maildir directory. Once this is created can I simply rsync the complete old directory including the dovecot files to the new mailbox?
Sorry for the newbie question.
Many Thanks
We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list.
Craig, Yes rsyncing the Maildirs/ will work - be sure to get your recursion options right though. Personally I prefer to exempt the dovecot* files from the rsync, and let them be recreated fresh on the new installation.
Regards
Dean Manners
My question is how to transfer the maildir files from the real users Maildirs to the created virtual users. When creating a mail user PostfixAdmin will create the maildir directory. Once this is created can I simply rsync the complete old directory including the dovecot files to the new mailbox?
Sorry for the newbie question.
Many Thanks
Dean Manners writes:
options right though. Personally I prefer to exempt the dovecot* files from the rsync, and let them be recreated fresh on the new installation.
I recently asked if it was necessary to delete/not sync the dovecot files and Timo replied that they should work.
If copying maildirs with little mail or for few users, it is probably ok to delete the dovecot files.
If copying users with lots of mail. It can be a significant hit on the machine if you delete the dovecot files.
participants (3)
-
craig carriere
-
Dean Manners
-
Francisco Reyes