Peter Mogensen | 9 Feb 15:35
Picon
Favicon

POP3 UIDLs with virtual INBOX and migration from maildir->mdbox

Hi,

Considering the scenario, where you have some old account with a 
different POP3 UIDL format and you migrate them to dovecot.

So these old UIDLs would be saved to dovecot-uidlist.

At some later time you want to introduce a virtual POP3 INBOX like 
described on:
http://wiki.dovecot.org/Plugins/Virtual

So you decide to make the new UIDL format "%f" - to make them unique 
across folders.

So far so good.

But then you decide to migrate to mdbox with all your old UIDLs.
The docs says that saving old UIDLs is only supported in Maildir and 
that %f is only supported in Maildir.

So is this at all possible?

Would pop3_uidl_format = %g solve this (except for the old legacy UIDL's) ?

/Peter

Timo Sirainen | 9 Feb 16:19
Picon
Picon
Favicon

Re: POP3 UIDLs with virtual INBOX and migration from maildir->mdbox

On Thu, 2012-02-09 at 15:35 +0100, Peter Mogensen wrote:
> Hi,
> 
> Considering the scenario, where you have some old account with a 
> different POP3 UIDL format and you migrate them to dovecot.
> 
> So these old UIDLs would be saved to dovecot-uidlist.
> 
> At some later time you want to introduce a virtual POP3 INBOX like 
> described on:
> http://wiki.dovecot.org/Plugins/Virtual
> 
> So you decide to make the new UIDL format "%f" - to make them unique 
> across folders.
> 
> So far so good.

Assuming the messages are in the same order, so far so good.

> But then you decide to migrate to mdbox with all your old UIDLs.
> The docs says that saving old UIDLs is only supported in Maildir and 
> that %f is only supported in Maildir.
> 
> So is this at all possible?
> 
> Would pop3_uidl_format = %g solve this (except for the old legacy UIDL's) ?

%g and %f are equal with Maildir. And if you migrated with dsync from
maildir to mdbox, then all GUIDs and POP3 UIDLs are preserved. But test
it first!
(Continue reading)


Gmane