[Dovecot] Sorting order after mail move

Václav Haisman v.haisman at sh.cvut.cz
Tue Feb 28 10:47:03 EET 2006


Timo Sirainen wrote:
> 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.
>
>   
The date after copying matches. Sorry for the noise, I think I found the 
culprit on my side. I thought I had Thunderbird set to sort by date but 
I had set up to use sorting of receive order instead.


Vaclav Haisman



More information about the dovecot mailing list