Hello, I'm in the process of migrating accounts between two dovecot servers. An old server running ancient 1.0.15 and a new server running 1.2.15. Account migration is going to be gradual and so i would like to use imapsync to move messages and subscriptions from one server to the other. The only problem so far is with POP users. After doing an account migration with imapsync, and although both servers share the same pop3_uidl_format = %08Xu%08Xv, the client downloads every message that was already on the server. Any pointers would be very much appreciated. Best Regards, Hugo Monteiro.
Hugo, I have been there too. Check if you are changing the server address in the e-mail client. If you are doing so, most clients check uidls based on this (at least in my tests). If you keep the hostname intact and the uidls are the same, the e-mails won't be downloaded again. You can do this messing with the hosts file in the client computer. To check if the uidls are the same, just launch a telnet session in both POP servers and issue a UIDL command and compare the output. Javier On Tue, Jun 21, 2011 at 8:17 AM, Hugo Monteiro <hugo.monteiro at fct.unl.pt> wrote:> Hello, > > I'm in the process of migrating accounts between two dovecot servers. An old > server running ancient 1.0.15 and a new server running 1.2.15. > Account migration is going to be gradual and so i would like to use imapsync > to move messages and subscriptions from one server to the other. The only > problem so far is with POP users. After doing an account migration with > imapsync, and although both servers share the same pop3_uidl_format > %08Xu%08Xv, the client downloads every message that was already on the > server. > > Any pointers would be very much appreciated. > > Best Regards, > > Hugo Monteiro. >
On Tue, 2011-06-21 at 12:17 +0100, Hugo Monteiro wrote:> Hello, > > I'm in the process of migrating accounts between two dovecot servers. An > old server running ancient 1.0.15 and a new server running 1.2.15. > Account migration is going to be gradual and so i would like to use > imapsync to move messages and subscriptions from one server to the > other. The only problem so far is with POP users. After doing an account > migration with imapsync, and although both servers share the same > pop3_uidl_format = %08Xu%08Xv, the client downloads every message that > was already on the server.%u means IMAP UID. imapsync can't preserve those. Use either rsync on the filesystem directly or v2.0's dsync.