[Dovecot] dovecot mbox to dovecot maildir migration
tss at iki.fi
Thu Aug 17 20:48:38 EEST 2006
On Fri, 2006-08-18 at 00:05 +0800, Michael Blancas wrote:
> I'm migrating accounts from one server with dovecot mbox and pam
> nss-ldap authentication to a new server with dovecot maildir and mysql
> auth (no posix accounts).
> My problem is the pop3 uidl format on the two servers are different,
> even though I'm using pop3_uidl_format = %08Xu%08Xv in both configs,
> I'm always re-downloading left messages on my test runs. Is there a
> way I could reuse the X-UID and X-IMAPbase headers on the converted
> mails. Issuing the UIDL command via pop3 always give a different
> result for the mbox and maildir spools.
> The X-UID and X-IMAPbase headers are present in the converted mails.
> The first number of X-IMAPbase maps to the mail UIDVALIDITY and the
> second is the same as X-UID, the mail uid.
You'll have to make your conversion script create dovecot-uidlist file
based on the X-IMAPbase and X-UID headers. There could be existing
scripts to do that, but I'm not sure.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060817/0ce6cb38/attachment.pgp
More information about the dovecot