Cor Bosman wrote:
Do you use dovecot's deliver? I asked Timo how dovecot handles ARRIVE and DATE sorting when creating indexes. In some situations you may have unindexed folders (for instance, when not using deliver), and im wondering how the difference is then. You could test this by removing all indexes for the 7k folder you have and issuing both commands.
OK, now it's 6 sec. but I was do this first time ever. So, this will not happen very often.
Im not sure an internal date column is necessary. Most of the time emails will appear sorted correctly when just displaying the Date: header as you would now. Once in a while you'd get apparently out-of-order emails (especially spam, but also emails that get delayed on the way), but I think the user-configurable setting explains most of that. We do this currently with squirrelmail and i rarely, if ever, get questions about the sorting display. Squirrelmail does not display the internaldate in the date column afaik. You think it's necessary to display the internaldate?
No, it's not necessary, and would be better to not display it, but it will be a little bit inconsistent. User is able to change sorting by clicking on column header. It's not possible with not-existent column ;) We should implement 3-state sorting switch then, asc, desc, no-sorting, and "no-sorting" means "by internaldate".