SA Bugzilla – Bug 2871
[review] FORGED_YAHOO_RCVD False Positives
Last modified: 2004-01-24 02:01:25 UTC
I will attach an email in which spamassasin said FORGED_YAHOO_RCVD. I do not think it should say that since I sent it through yahoo. I think my email has a yahoo received header, but I think spamassasin failed to recognize it as a valid received header. I will attach a patch which makes spamassasin recognize the header. The patch deletes an escaped period from the regular expression so that the expression will match smtp014.mail.yahoo.com. The old code did not match that since my email header did not have a period after the "smtp". I tested it with this command: spamassassin < email
Created attachment 1645 [details] Spamassassin does not recognize the yahoo received header in this email.
Created attachment 1646 [details] patch to delete period from regular expression
moving to 2.62
I found a few myself that need some help unrelated to the RE.
Created attachment 1679 [details] some header sets that were missed 3 merchant ratings, 1 classified notice.
Created attachment 1682 [details] fix for both ok, just redid this (without ref to patch 1646 to avoid a CLA); it also catches Theo's mails I think.
Subject: Re: FORGED_YAHOO_RCVD False Positives On Sun, Jan 11, 2004 at 10:39:27PM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > ok, just redid this (without ref to patch 1646 to avoid a CLA); it also > catches Theo's mails I think. Hey, I was working on this! :P I'll look at your patch, but mine so far goes from: orig/results.log: 4.333 12.8782 0.2197 0.983 0.97 0.38 FORGED_YAHOO_RCVD to results.log: 4.302 12.8782 0.1745 0.987 0.98 0.38 FORGED_YAHOO_RCVD
Created attachment 1684 [details] My suggested patch Apparently JM and I were both working on this at the same time. ;) It's pretty much the same patch, although I don't explicitly ignore store.yahoo.com, I catch it later with a (?: with SMTP) style RE. We both remove the "\." from the first RE. I also added in a check for bounced/resent messages since I get a lot of those from family members who send me things they want me to read. This patch takes my results from orig/results.log: 4.333 12.8782 0.2197 0.983 0.97 0.38 FORGED_YAHOO_RCVD to ./results.log: 4.302 12.8782 0.1745 0.987 0.98 0.38 FORGED_YAHOO_RCVD
+1 to 1684, I think it covers a bit more than my patch does. Sorry about that Theo, you should have accepted the bug ;)
applied to 2.62 and head.
*** Bug 2237 has been marked as a duplicate of this bug. ***