modify time of synced messages is 1 hour in the future
Kyle Silfer
kyle at rtoads.com
Tue Sep 30 18:25:11 BST 2014
Hello Offlineimap developers. Your software is awesome, but there appears to be a bug with the timestamps on synced files.
I am having what seems to be the same problem posted by this user back in 2009:
http://thread.gmane.org/gmane.mail.imap.offlineimap.general/1586
The source IMAP server is Dovecot, read-only, and the destination is Cyrus. The timezones are the same on source and destination.
After running offlineimap, a message with this Date header:
Date: Tue, 30 Sep 2014 11:03:59 -0600
... arrives on the destination server with a modify time of 12:03:59. Here's the stat output on the file itself on the destination file system:
Access: 2014-09-30 12:03:59.000000000 -0600
Modify: 2014-09-30 12:03:59.000000000 -0600
Change: 2014-09-30 11:04:40.782825328 -0600
The ctime shows when the file was actually written to the filesystem and is correct, but the atime and mtime are both in the future.
Originally I was running the Ubuntu 14.04 package (6.5.4) but I upgraded to 6.5.6 because I saw in the notes for 6.5.5 some date-related changes, e.g.:
Allow to set message access and modification timestamps based on the "Date" header of the message itself. (Cyril Russo)
Honor the timezone of emails (Tobias Thierer)
... however, I am experiencing the same problem. All emails synced from the source get 1 hour added to their modification time. Is there an undocumented .offlineimaprc setting to activate these date/time fixes? Is this the same bug from 2009? Is there a workaround? Please advise. Thank you.
./k
--
Kyle Silfer
Reign of Toads
IT Consultation Services
505.265.5840 h
505.918.0978 c
505.346.0660 x242 w
More information about the OfflineIMAP-project
mailing list