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. Vaclav Haisman -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 544 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20060227/bf10c6fe/attachment.bin>
On 2006-02-27 22:50:05 +0100, V?clav Haisman wrote:> 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.you are sure it is not a client issue? can you retest that with another imap server? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
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: signature.asc 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.bin>