Re: Recommended tool for migrating IMAP servers
[..]
Hi,
I vouch for imapsync. Have used it in the past with quite a big amount of emails.
cheers.
x0p
Ah, thanks x0!
Also if you have fs access on both servers, and you are using maildir, plain rsync works just as well.
Aki
no, I've not fs access on both servers! :-/
If you want to preserve IMAP UID:s and possibly also POP3 UIDL:s then dovecot internal dsync is the only tool that can do it.
With every other tool you will face end users needing to invalidate their local caches and redownloading all headers if not also all mail bodies.
Sami
Can I use this tool even if I do not know the other remote server typology?
Many thanks to all!!
Davide
-- firma
cosmogoniA <https://www.cosmogonia.org/> n o p r o v a r e n o f a r e o n o n f a r e n o n c e p r o v a r e
Hi,
I vouch for imapsync. Have used it in the past with quite a big amount of emails.
cheers.
x0p
Ah, thanks x0!
welcome!
Can I use this tool even if I do not know the other remote server typology?
sure. just need both IMAP ports reachable and valid user/pass for both servers.
cheers.
x9p
Il 04/12/2017 14:33, x9p ha scritto:
Can I use this tool even if I do not know the other remote server typology?
sure. just need both IMAP ports reachable and valid user/pass for both servers.
I think Davide was asking about dsync. If so, the answer is no: dsync works only when both servers are Dovecot and needs some additional configuration to work through the network (see https://wiki2.dovecot.org/Replication). I don't know about imapsync but I suppose it is a generic IMAP tool that replicates mailboxes using IMAP protocol as a client between two servers.
Cheers Paolo
On December 4, 2017 at 8:46 AM Paolo <tech-lists@fcr.re.it> wrote:
Il 04/12/2017 14:33, x9p ha scritto:
Can I use this tool even if I do not know the other remote server typology?
sure. just need both IMAP ports reachable and valid user/pass for both servers.
I think Davide was asking about dsync. If so, the answer is no: dsync works only when both servers are Dovecot and needs some additional configuration to work through the network (see https://wiki2.dovecot.org/Replication).
This is entirely incorrect. The source platform for dsync can be ANY IMAP/POP server.
The recommended tool for migrating into Dovecot is dsync. You don't need any other tool, and other tools aren't going to preserve state so they are pretty much worthless for a real-world in-place migration.
michael
Il 04/12/2017 17:37, Michael Slusarz ha scritto:
I think Davide was asking about dsync. If so, the answer is no: dsync works only when both servers are Dovecot and needs some additional configuration to work through the network (see https://wiki2.dovecot.org/Replication). This is entirely incorrect. The source platform for dsync can be ANY IMAP/POP server.
The recommended tool for migrating into Dovecot is dsync. You don't need any other tool, and other tools aren't going to preserve state so they are pretty much worthless for a real-world in-place migration. Entirely?! At most half incorrect. My apologies, I didn't know about the dsync's IMAP feature (I suppose it wasn't there from the beginning). This fact still remain: you can use dsync only when dovecot is involved. Even so (IMHO) the sentence "You don't need any other tool" is a bit too much. Who ever know all possible use cases in the world? Cheers Paolo
On 5 Dec 2017, at 10.20, Paolo <tech-lists@fcr.re.it> wrote:
Il 04/12/2017 17:37, Michael Slusarz ha scritto:
I think Davide was asking about dsync. If so, the answer is no: dsync works only when both servers are Dovecot and needs some additional configuration to work through the network (see https://wiki2.dovecot.org/Replication). This is entirely incorrect. The source platform for dsync can be ANY IMAP/POP server.
The recommended tool for migrating into Dovecot is dsync. You don't need any other tool, and other tools aren't going to preserve state so they are pretty much worthless for a real-world in-place migration. Entirely?! At most half incorrect. My apologies, I didn't know about the dsync's IMAP feature (I suppose it wasn't there from the beginning). This fact still remain: you can use dsync only when dovecot is involved. Even so (IMHO) the sentence "You don't need any other tool" is a bit too much. Who ever know all possible use cases in the world? Cheers Paolo
IMAPC storage driver has been part of dovecot since January 2011:
https://github.com/dovecot/core/commit/9fb018dea4e2073639249ea8a14ae27cab2c0... <https://github.com/dovecot/core/commit/9fb018dea4e2073639249ea8a14ae27cab2c0aac>
Sami
participants (5)
-
Davide Marchi
-
Michael Slusarz
-
Paolo
-
Sami Ketola
-
x9p