SA Bugzilla – Bug 896
Gnus MUA matching is wrong.
Last modified: 2002-09-20 23:50:42 UTC
My gnus produces such User-Agent header: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 while spamassassin test wants: 20_anti_ratware.cf:header USER_AGENT_GNUS_UA User-Agent =~ /^Gnus v\d(?:\.\d+){1,2}\/X?Emacs \d+\.\d+/ As you can see it's really different. Also there is gnus version named Oort used. What I found from my mailing list archives: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Bryce Canyon) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.90 User-Agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Copyleft) User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3.50 (ia64-suse-linux) User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Informed Management (RC1)) User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.7 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp (Windows))
*** Bug 970 has been marked as a duplicate of this bug. ***
Note, rule was removed due to low performance, but it may be worth recovering. ----------------------------------------------------------------------------- Removed USER_AGENT_GNUS_UA from HEAD cvs. hit frequencies: OVERALL% SPAM% NONSPAM% S/O RANK SCORE NAME 0.000 0.000 0.000 0.00 0.00 0.00 USER_AGENT_GNUS_UA test code from all files in rules dir: header USER_AGENT_GNUS_UA User-Agent =~ /^Gnus v\d(?:\.\d+){1,2}\/X?Emacs \d+\.\d+/ describe USER_AGENT_GNUS_UA User-Agent header indicates a non-spam MUA (Gnus) tflags USER_AGENT_GNUS_UA nice If you want to re-add this test to SpamAssassin, please follow up this bug entry, improving the code until the S/O ratio goes above 0.7 (or below 0.3 for nice tests). (automated submission)
I fixed this rule in CVS but it went away with the last merge. The problem was that the pattern for User-Agent and X-Mailer were swapped. I'll fix it again. *** This bug has been marked as a duplicate of 753 ***