Am 10.12.2014 um 20:17 schrieb Peter Volkov:
We use smtplib in python to send mail through postfix. As I saw from
tcpdump smtplib does not set "Date:" field, so I suspect postfix does
that. Now, as I see postfix sets date as:
Date: Wed, 10 Dec 2014 05:40:50 -0800 (PST)
According to rfc 5322 3.6.1. "The Origination Date Field" last part
(PST) should not be there and correct Date specification looks like:
Date: Wed, 10 Dec 2014 05:40:50 -0800
Is there any way to force postfix avoid this (PST) or is there any RFC
that this date specification is compliant with? Currently our mail is
considered as spam by some strict e-mail systems.
Thank in advance for any tips
i would file a bugreport against "smtplib" and be thankful that postfix
adds *any* date header just because "score MISSING_DATE 2.5" here for
SpamAssassin
89 out of 80000 delivered messages here have "MISSING_DATE" and so you
can assume this is a very high spam sign (besides the problems of a
missing date header like every device receive that message shows current
date)