https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6645
D. Stussy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |software+spamassassin@kd6lv | |w.ampr.org --- Comment #7 from D. Stussy <[email protected]> 2011-08-07 00:50:00 UTC --- Is this really a SpamAssassin problem, or is it tied to qmails' RFC noncompliant "Received:" headers? 1) Although RFC 5322 does syntactically permit an empty subfield (after CNFS stripping) before the semicolon and time stamp, such serves no semantic purpose under the RFC. 2) IP address literals in the "from" and "by" clauses (not counting the CNFS comments) must be in brackets because the ABNF specification calls for a domain name literal. Unbracketed IP addresses [outside comments] are a syntax error. 3) "[W]ith qmail-scanner-2.05st" is an unauthorized transport method per the IANA registry for messages. 4) I'm not certain that parentheses within comments (i.e. comment nesting) is permitted in the ABNF syntax of RFC 5322 (e.g. your third "Received:" header). For these reasons, I would oppose any "workaround" as qmail is clearly broken software. RFC noncompliant software (especially when it comes to RFCs 5321 and 5322, where their predecessors, 2821 and 2822 are part of STD 10, and the newer versions don't really change much) should be scored in a negative manner (i.e. toward spam - with a positive score). Therefore, the failure to parse properly which in this case yields a higher score is a proper result. I'm not singling out qmail: Microsoft Exchange has its own problems with RFC noncompliant "Received:" headers (e.g. 'with Microsoft SMTPSVC' which is incorrect; 'with "Microsoft SMTPSVC"' is correct - i.e. "with" takes an ABNF "atom" or an ABNF "quoted-string" only; unquoted multiple words are erroneous). SA should score toward spam EVERY RFC-noncompliant element found. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
