SA Bugzilla – Bug 3219
__NMS_CGI_NOT_BUGGY rule broken; fix included
Last modified: 2004-03-26 03:41:32 UTC
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
*** Bug 3218 has been marked as a duplicate of this bug. ***
this is already fixed in svn. not sure what version you're looking at. ;) : jm 1090...; grep NMS_CGI ~/ftp/spamassassin/rules/*.cf /home/jm/ftp/spamassassin/rules/20_meta_tests.cf:header __NMS_CGI_NOT_BUGGY X-Mailer =~ /^NMS FormMail/ /home/jm/ftp/spamassassin/rules/20_meta_tests.cf:meta BUGGY_CGI (__BUGGY_CGI && !__NMS_CGI_NOT_BUGGY)