grant beattie wrote:
some of my Thunderbird users have a minor but annoying problem with messages that have no Date: header.
these clients use BODY[HEADER.FIELDS (Date)] as the date for messages. when a message has no Date: header, they display the date as 01/01/1970 10:00:00 because Dovecot returns empty string.
would it be possible for Dovecot to return INTERNALDATE instead, for messages that contain no Date: header? I know this is not *technically* correct, but it's a reasonable best-guess, and better than returning nothing. perhaps as a client-workaround?
Isn't it better to fix the MUA in question? Returning another value than the one present in the header structure would break RFC 3501, IMHO.
Anyway, the Date header should be fixed/added by MTA (haven't read RFC2822 but the ENVELOPE desription in 3501 seems to confirm my interpretation).
Anyway #2, assuming that the message hasn't arrived via SMTP (as the MTA would fix/add the Date header unless it's broken) and probably also not via COPY or APPEND, I'm not sure how would INTERNALDATE help you - if I'm reading the specification correctly, the behaviour is implementation-defined in other cases :)
So in short, is there a report in Thunderbird's bug tracker?
Cheers, -jkt
-- cd /local/pub && more beer > /dev/mouth