Peter Volkov: > Hi. > > 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)
The (PST) is a comment. Surely, their parser understands how comments work. Wietse > 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. > > -- > Peter. > > > >