On Mon, 2006-04-17 at 16:56 -0400, Mark E. Mallett wrote:
and on the wiki at http://wiki.dovecot.org/Migration there is this:
By default Dovecot generates POP3 UIDs differently than UW-IMAP. If you want to preserve them, with 0.99.x you'll have to patch Dovecot. With 1.0-tests you can use:
pop3_uidl_format = %08Xv%08Xu
In the dovecot-example.conf file, it appears that the mentions of "%08Xu%08Xv" as being fail-safe and being the new default may be typos, since that format doesn't seem to come from anywhere. Should they not say "%08Xv%08Xu" ? (It'll still provide the same sort of unique value, only with the ends reversed; i.e. it should still work ok. But consistency and compatibility is nice.)
No, it's actually correct although it's not compatible with anything else. The point is that %08Xv (== UIDVALIDITY) is always the same for user's all mails (usually forever), so if there are some stupid clients which truncate the POP3 UIDL value, it's safer to have %08Xu (== UID) first. Outlook apparently in some situations truncates the UIDL which is causing problems..