[Dovecot] using dsync to convert mailboxes looses caching options

Mark Zealey mark.zealey at webfusion.com
Sat Dec 10 12:55:28 EET 2011


10-12-2011 08:27, Timo Sirainen yazmış:
> On Thu, 2011-12-08 at 16:10 +0000, Mark Zealey wrote:
>> By the way, another bug I noticed with dsync is that when converting from Maildir to sdbox is that the date.saved field is not preserved - it's just the time when the first dsync command happened. Presumably it should be the mtime of the Maildir message file
> With Maildir the date.saved is taken from the mail file's ctime (yes,
> it's not perfect, but it's good enough for what it's used for). It's
> preserved in my tests.

It could well be because of the conversion to sdbox then - the 
ctime/mtime of the files are not being preserved by dsync (in stock 
2.0.16). The date.saved timestamp is only put into the cache on the 
second dsync run; presumably therefore it picks it up from the filesystem.

Mark



More information about the dovecot mailing list