Migrate mail data from Dovecot to Dovecot
I have built a new server (FreeBSD-12) running dovecot-2.3.4. My old server (FreeBSD-9.3) is running dovecot-2.3.4 as well. The configurations are 1:1 identical. The are about 250 users on this server, all virtual. They are mostly POP3 users, but they do "leave a copy of message on the server" for set various number of days.
Now, to migrate the mail data, can I simply rsync the mail directories between the old and the new server? Would that create a pitfall??
What is the recommended method?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
On 19 February 2019 10:38 Odhiambo Washington via dovecot dovecot@dovecot.org wrote:
I have built a new server (FreeBSD-12) running dovecot-2.3.4. My old server (FreeBSD-9.3) is running dovecot-2.3.4 as well. The configurations are 1:1 identical. The are about 250 users on this server, all virtual. They are mostly POP3 users, but they do "leave a copy of message on the server" for set various number of days.
Now, to migrate the mail data, can I simply rsync the mail directories between the old and the new server? Would that create a pitfall??
What is the recommended method?
--
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.",grep ^[^#] :-)
If you are using maildir, rsync should work.
AKi
On Tue, 19 Feb 2019 at 11:39, Aki Tuomi aki.tuomi@open-xchange.com wrote:
On 19 February 2019 10:38 Odhiambo Washington via dovecot < dovecot@dovecot.org> wrote:
I have built a new server (FreeBSD-12) running dovecot-2.3.4. My old server (FreeBSD-9.3) is running dovecot-2.3.4 as well. The configurations are 1:1 identical. The are about 250 users on this server, all virtual. They are mostly POP3 users, but they do "leave a copy of message on the server" for set various number of days.
Now, to migrate the mail data, can I simply rsync the mail directories between the old and the new server? Would that create a pitfall??
What is the recommended method?
--
Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.",grep ^[^#] :-)
If you are using maildir, rsync should work.
Thank you.
rsync it is.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
participants (2)
-
Aki Tuomi
-
Odhiambo Washington