Hi all, I'm migrating a Postfix + Dovecot 1.0 server with mboxes to Qmail + Dovecot 1.4 with Maildirs and encounter the following the problem. Using perfect-maildir.pl from: http://perfectmaildir.home-dn.net/ i can relatively succesfully convert the mbox to a Maildir. The problem, however is that clients with "leave mail on server" set to on retrieve all email a 2nd time. I understand this must be because the email client "sees" a different UIDL and downloads the message again. Looking at the 1.0 configuration, i do not see a "pop3_uidl_format" setting. So was wondering how the UIDL is generated. Is anybody aware of a conversion script that properly maintains the UIDL? Or am I misisng something else here? Sincerely, - Wouter van der Schagt
Wouter van der Schagt wrote:> Hi all, > > I'm migrating a Postfix + Dovecot 1.0 server with mboxes to Qmail + Dovecot > 1.4 with Maildirs and encounter the following the problem. > > Using perfect-maildir.pl from: http://perfectmaildir.home-dn.net/ i can > relatively succesfully convert the mbox to a Maildir. The problem, however > is that clients with "leave mail on server" set to on retrieve all email a > 2nd time. > > I understand this must be because the email client "sees" a different UIDL > and downloads the message again. Looking at the 1.0 configuration, i do not > see a "pop3_uidl_format" setting. So was wondering how the UIDL is > generated. > > Is anybody aware of a conversion script that properly maintains the UIDL? Or > am I misisng something else here?Hi, Please look at http://wiki.dovecot.org/Migration/MailFormat There's a modified version of mb2md.pl there that will keep the existing UIDL info. As for "pop3_uidl_format", I seem to recall the source needing modification to change the format in earlier versions of Dovecot, until it was added as a configuration option. OT: I'm curious as to why you're migrating from Postfix to Qmail. Regards, Jase.
On Nov 28, 2008, at 6:43 PM, Wouter van der Schagt wrote:>> This mixes v3 syntax with v1 syntax, won't work. > > You're right, after changing it to the v3 syntax i'm getting exactly > the same output in both servers after issuing the UIDL command in a > telnet session. So far so good. > > However, a 2nd copy of the files is still being downloaded. Is this > because the IP has changed? My steps are. > > - Download emails from IP.IP.IP.1 > - Migrate emails > - Confirm manually that UIDL output is the same > - If so, download emails from IP.IP.IP.2 > > And in the last step, im still getting a 2nd copy of all emails. > Where is the fault in my reasoning? Do i need to give dovecot a > message number that was last downloaded?If the UIDLs are exactly the same, I've no idea why the client would download a duplicate. I haven't heard before that a changed IP would be an issue. Of course that would still be a client-specific issue. Sounds a bit unlikely though. Ccing back to list in case someone else has an idea.. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081128/9892ae28/attachment-0002.bin>