Hi,
when debugging my IMAP parser, I wanted to test my timezone parsing.
According to RFC3501, the INTERNALDATE parameter should be "immutable",
but it seems that with two IMAP server implementations I tested (dovecot
using maildir and uw-imapd using mbox), it isn't preserved literally. In
my test, my parser launches IMAP server directly (and talks to it
through pipes), so the IMAP process inherits its timezone settings.
uw-imapd, mbox, TZ=Europe/Prague (+0100):
* 1 FETCH (INTERNALDATE "20-Mar-2005 11:12:55 +0100")
uw-imapd, mbox, TZ=US/Central (-0600)
* 1 FETCH (INTERNALDATE "20-Mar-2005 11:12:55 -0600")
dovecot (another data), maildir, TZ=Europe/Prague
* 1 FETCH (INTERNALDATE "03-Mar-2007 15:02:36 +0100")
dovecot, maildir, TZ=US/Central:
* 1 FETCH (INTERNALDATE "03-Mar-2007 08:02:36 -0600")
I realize this is kind of artificial problem (server administrators
don't change their timezone settings every day), but I'd like to ask if
this is correct behavior.
Cheers,
-jkt
--
cd /local/pub && more beer > /dev/mouth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mailman13.u.washington.edu/pipermail/imap-protocol/attachments/20071206/8c2cf900/attachment.sig>