[offlineimap] sending internal date with incorrect timezone (#186)

Michael Hoy notifications at github.com
Mon Mar 30 19:23:20 BST 2015


Hello,

I use offlineimap to sync my fastmail account. I noticed that on the fastmail web interface the emails I had sent locally, and synced up to the fastmail sent folder via offlineimap, reported dates that were 1 hour off (in the future).

A bit of talking with fastmail support, I think I found the issue: offlineimap sends date metadata (this is the "internaldate" in imap protocol, I think?) that is not the correct timezone.

Here is what I think is the relevant portion of the output from running ```offlineimap -d imap```:

https://gist.githubusercontent.com/mjhoy/63e1a1c5d1d408a33285/raw/7111a4f280d13e37ff7d85b333db293fb2775782/gistfile1.txt

The date header in my test email is set to Mon, 30 Mar 2015 14:03:50 -0400. However there is this line:

```[imap]:   05:05.70 mail.messagingengine.com writer > DLKE23 APPEND "INBOX.Sent Items" (\Seen) "30-Mar-2015 14:03:51 -0500"```

Which I believe is offlineimap reporting the incorrect time (-0500 instead of -0400).

Regardless of what my system timezone is set to: Shouldn't the internaldate always be the same as whatever is in the Date header? If my system is the issue, I'm on OS X 10.9, my timezone is set to -0400.

Offlineimap version 6.5.5.

My email client is emacs.

Thanks, and apologies if I'm misunderstanding what IMAP is supposed to do or what the protocol is.
Mike

---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/186
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20150330/9d30134d/attachment-0002.html>


More information about the OfflineIMAP-project mailing list