http://bugzilla.spamassassin.org/show_bug.cgi?id=3219
Summary: __NMS_CGI_NOT_BUGGY rule broken; fix included
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Rules
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: x.spamassassin@chatterjee.net
The BUGGY_CGI meta rule is incorrectly matching for mail generated by NMS
FormMail, because NMS FormMail's X-Mailer header format has changed.
The rule for __NMS_CGI_NOT_BUGGY (in 20_meta_tests.cf) should be changed from this:
header __NMS_CGI_NOT_BUGGY X-Mailer =~ /^NMS FormMail\.pl.*v\d/
to this:
header __NMS_CGI_NOT_BUGGY X-Mailer =~ /^NMS FormMail(?:\.pl)?\b.*v\d/
The now-incorrect rule is there in both SA 2.63 and the latest 3.0.0 nightly.
In recent versions of NMS FormMail, the generated X-Mailer header looks like
this (no ".pl"):
X-Mailer: NMS FormMail 3.12c1
This can be confirmed by looking at lines 2769 and 3233 of
http://nms-cgi.sourceforge.net/formmail_compat-3.12c1/FormMail.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Summary: __NMS_CGI_NOT_BUGGY rule broken; fix included
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Rules
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: x.spamassassin@chatterjee.net
The BUGGY_CGI meta rule is incorrectly matching for mail generated by NMS
FormMail, because NMS FormMail's X-Mailer header format has changed.
The rule for __NMS_CGI_NOT_BUGGY (in 20_meta_tests.cf) should be changed from this:
header __NMS_CGI_NOT_BUGGY X-Mailer =~ /^NMS FormMail\.pl.*v\d/
to this:
header __NMS_CGI_NOT_BUGGY X-Mailer =~ /^NMS FormMail(?:\.pl)?\b.*v\d/
The now-incorrect rule is there in both SA 2.63 and the latest 3.0.0 nightly.
In recent versions of NMS FormMail, the generated X-Mailer header looks like
this (no ".pl"):
X-Mailer: NMS FormMail 3.12c1
This can be confirmed by looking at lines 2769 and 3233 of
http://nms-cgi.sourceforge.net/formmail_compat-3.12c1/FormMail.pl
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.