Peter Volkov: > ? ??, 10/12/2014 ? 14:35 -0500, Wietse Venema ?????: > > 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) > > > > The (PST) is a comment. Surely, their parser understands how comments > > work. > > Thanks Wietse! This helped me to understand what CFWS in rfc stands for. > Looks like some spam filter is too strict so I've reported this issue to > their postmaster.
Thanks. For posteriority, the date-time is defined as: date-time = [ day-of-week "," ] date time [CFWS] date = day month year time = time-of-day zone CFWS = (1*([FWS] comment) [FWS]) / FWS Source: RFC 2822 and RFC 5322. I omitted some rules for brevity. If the filter does not allow comments, then it is not too strict, instead it fails to implement part of the standard. Wietse