[Dovecot] dovecot tpop3d UIDL mbox
Hello All!
I am new to this list so I hope I'm not in the wrong list with my question.
First, I have to say that dovecot is (in my opinion) one of the best POP3/IMAP servers arround. I especialy like its' simplicity (configuration) and powerfullness (speed, auth mechs).
In my production environment I would like to cange from tpop3d to dovecot, but I have only one little problem :).
This is my situation: pop3 server: tpop3d mail fromat: mbox (/var/mail/username) UIDL: tpop3d UIDL format
Since there are users who let mail on server, I need to keep UIDL.
The problem is that the patch which gives dovecot the capability to replay with tpop3d UIDL format apparently works only on maildir mailboxes.
Is there any resonable solution to my problem?
TIA.
Regards, Antencek
On Fri, 2006-10-13 at 12:47 +0200, antencek@volja.net wrote:
This is my situation: pop3 server: tpop3d mail fromat: mbox (/var/mail/username) UIDL: tpop3d UIDL format
Since there are users who let mail on server, I need to keep UIDL.
The problem is that the patch which gives dovecot the capability to replay with tpop3d UIDL format apparently works only on maildir mailboxes.
How does tpop3d generate UIDLs for mbox mails?
On Mon, 16 Oct 2006 00:32:07 +0300 Timo Sirainen <tss@iki.fi> wrote:
How does tpop3d generate UIDLs for mbox mails?
tpop3d's UIDLs for messages in an mbox file are an MD5 hash of the first 512 bytes of the message (including the "From " line and the message body), or the entire message if it's less than 512 bytes. If indexes are enabled, tpop3d will only calculate the UIDL when the message is first seen -- otherwise, it'll calculate it every time.
The good(?) news is that tpop3d doesn't update/add the Status header, so there's a good chance that dovecot's initial calculation of the UIDL will match; the bad news is that dovecot DOES update/add the Status header, so the UIDL will change unless dovecot saves it somewhere.
-- Ben Winslow <rain@bluecherry.net>
participants (3)
-
antencek@volja.net
-
Ben Winslow
-
Timo Sirainen