[Dovecot] Sorting order after mail move

Timo Sirainen tss at iki.fi
Tue Feb 28 10:08:52 EET 2006


On Mon, 2006-02-27 at 22:50 +0100, Václav Haisman wrote:
> Hi,
> when I move some recent mail from some mbox folder into Maildir folder
> the moved email sorts as the first (on top) in the folder while it
> should be on the bottom with the rest of the recent emails in the
> folder. This happens only when moving from mbox folder to Maildir
> folder. I am not sure if it is really Dovecot bug or not but I suspect
> it could be so because it only happens in this one specific scenario.

Usually clients sort either by message UID (practically non-sorted),
received date or message's Date-header. Dovecot can't help with the UID
sorting because UIDs must always grow. I couldn't cause received date to
break either. You're using namespaces I suppose? You could try this
also:

x select mbox
x fetch 1 internaldate
x copy 1 maildirbox
x select maildirbox
x fetch * internaldate

If the internaldates match, then copying worked correctly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060228/2008f0b7/attachment.pgp


More information about the dovecot mailing list