[Dovecot] errors in dovecot-uidlist

Timo Sirainen
Tue, 05 Jun 2007 18:29:01 -0000

On Mon, 2007-06-04 at 12:47 +0200, Erland Nylend wrote:
> As you can see, the unix timestamps are descending between uid 35
> and uid 36 .. and this causes problems if we intend to make webmail
> access the messages through imap. (it expects to receive the
> messages sorted by when they were received)
>
> Is there any way I can sort the list accourding to the unix
> timestamps, and still make it transparent to the pop3/imap clients?
>
> I would prefer a solution that does not involve users downloading
> allready downloaded messages via pop3.

There's no easy way. The UID numbers were apparently converted from
courierpop3dsizelist file. So either the UID numbers need to be lost, or
the list isn't sorted. Dovecot doesn't yet support having separate UIDs
for POP3 and IMAP.

One thing you could do is insert X-UIDL headers to the maildir files and
set pop3_reuse_xuidl=yes, but that would change the file sizes and
possibly break some things.

But IMAP supports sorting messages by received date (internaldate).
Maybe your webmail can be configured to do that?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20070605/4a5731af/attachment-0002.bin>