Timo Sirainen wrote:
On Thu, 2010-02-18 at 11:26 -0500, Tony Rutherford wrote:
Well, with v1.1+ it's possible to preserve both POP3 and IMAP UIDs (each line is <IMAP uid> P<POP3 UIDL> :<filename>). I guess the script doesn't merge IMAP and POP3 messages well enough. Feel free to fix the script ;)
Yes, unless you're unfortunate enough to be supporting a non-standard legacy message name format based on uuidgen!
I've no idea what uuidgen is, but..
I did see the function where it attempts to compare based on the
"standard" filename format...but again, unfortunately I have to deal with non-standard as well as the standard format :(
No, it works with everything with Dovecot v1.1+. Like it says above, you can have in dovecot-uidlist:
1 Phello-world :12345.blah.host:2,
Now when opening such mailbox with POP3 and issuing UIDL command, you actually get:
1 hello-world
uuidgen generates a random unique identifier with no way of gathering a date/time stamp from it. Here's an example filename: "ffad8168_ce4b_4d25_a54d_290ed9b3a7f6:2,S" It's not ideal for many, many reasons...
Tony