Re: [Dovecot] IMAP folders sort order
28 Feb
2013
28 Feb
'13
5:24 p.m.
Yes, thanks -- I'll look into wiki...
But I tried to create a fresh account in Dovecot (not migrated from Courier), and it still shows a intermixed folder order:
a list "" *
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Sent"
- LIST (\HasNoChildren) "/" "Drafts"
- LIST (\HasNoChildren) "/" "Trash"
- LIST (\HasNoChildren) "/" "INBOX"
- LIST (\HasNoChildren) "/" "Pub" a OK List completed.
So, it is not a migration problem -- note that it is the LIST command output, so it is not got influenced by some IMAP client folder searchlist/mask or its namespace settings (like in Thunderbird)
WBR, valery
28 Feb
28 Feb
11:24 p.m.
New subject: [Dovecot] IMAP folders sort order
Quoting "Valery V. Sedletski" <valerius@afterlogic.com>:
Why does this matter? IMAP does NOT enforce any sort of required
sorting order, and no IMAP client can assume a sort order. So
enforcing a sort order on the server is just a waste of resources.
FWIW, this is completely legal IMAP output also (albeit inefficient):
a list "" *
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Sent"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Drafts"
- LIST (\HasNoChildren) "/" "Trash"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "Spam"
- LIST (\HasNoChildren) "/" "INBOX"
- LIST (\HasNoChildren) "/" "Pub" a OK List completed.
michael
4450
Age (days ago)
4450
Last active (days ago)
1 comments
2 participants
participants (2)
-
Michael M Slusarz
-
Valery V. Sedletski