Lars Johansen
2007-May-02 09:32 UTC
[Dovecot] Switching from mailbox to maildir.. duplicates!
Hi We have been running a dovecot server for some time.. users connect with pop. Now this server is going to be substituted with a new one.. before we used mbox, but now we will move to maildir! I have done some testing transfering the mail with the mb2md script, the conversion works correctly, but users gets duplicates since they selected "keep mail on server" I have googled for the problem, and set pop3_reuse_xuidl=yes and pop3_uidl_format = %08Xu%08Xv is the same on both servers.. but no luck. My first tought was to script in an X-UIDL header for each mail that was converted.. but that wont work since the mail already downloaded by the client didnt contain that header.. is there anyone that has some experience with this, or knows if its possible? Many Greetings, Lars Johansen
Sylvain Nemtua
2007-May-02 12:47 UTC
[Dovecot] Switching from mailbox to maildir.. duplicates!
I'm having the same issue, but only with client using outlook (not outlook express) On 5/2/07, Lars Johansen <lars at larsjohansen.org> wrote:> Hi > > We have been running a dovecot server for some time.. users connect with > pop. > > Now this server is going to be substituted with a new one.. before we > used mbox, but now we will move to maildir! > > I have done some testing transfering the mail with the mb2md script, the > conversion works correctly, but users gets duplicates since they > selected "keep mail on server" > > I have googled for the problem, and set > pop3_reuse_xuidl=yes > and > pop3_uidl_format = %08Xu%08Xv is the same on both servers.. but no luck. > > My first tought was to script in an X-UIDL header for each mail that > was converted.. but that wont work since the mail already downloaded by > the client didnt contain that header.. > > is there anyone that has some experience with this, or knows if its > possible? > > Many Greetings, > > Lars Johansen > >
Timo Sirainen
2007-May-09 08:28 UTC
[Dovecot] Switching from mailbox to maildir.. duplicates!
On Wed, 2007-05-02 at 11:32 +0200, Lars Johansen wrote:> I have done some testing transfering the mail with the mb2md script, the > conversion works correctly, but users gets duplicates since they > selected "keep mail on server" > > I have googled for the problem, and set > pop3_reuse_xuidl=yes > and > pop3_uidl_format = %08Xu%08Xv is the same on both servers.. but no luck. > > My first tought was to script in an X-UIDL header for each mail that > was converted.. but that wont work since the mail already downloaded by > the client didnt contain that header..It doesn't matter if the client hasn't seen the X-UIDL header, because it's Dovecot that uses it. The problem is anyway that your mbox -> maildir conversion didn't preserve the UIDVALIDITY and UIDs. I'm not aware of any existing conversion script that can preserve them. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070509/5b3aa8a1/attachment.bin>