Rob Tanner wrote: > Hi, > > I subscribe to a number of email lists on Yahoo and believe it or not, > none of the lists I subscribe to have ever been spammed (at least not > since I've been a subscriber). However, I frequently get messages > that Spamassassin thinks are SPAM. Because the "From:" header on > postings to the lists retain the original sender's email, I'm using > whitelist_from_rcvd in local.cf to look at the received from header. > Yahoo has a number of different servers, so the actual config in > local.cf is: > > whitelist_from_rcvd *.yahoo.com That will never match *anything*.. In fact, it should cause a parse error. Whitelist_from_rcvd takes TWO parameters, not one.
whitelist_from_rcvd doesn't just look at the received: header, it looks at From: AND Received:. So pass it two parameters, the first one as a pattern for From: the second to match the RDNS of the Received:. Try this instead: whitelist_from_rcvd [EMAIL PROTECTED] yahoo.com Also, make sure your trust path is working. If SA isn't trusting the right headers, it might ignore the one you need to check against. http://wiki.apache.org/spamassassin/TrustPath/ > > My understanding of whitelisting in Spamassassin is that it's sort of > the inverse of golf handicapping, that is, the message starts out with > a -100 score. That is correct. And it actually shows up as a rule hit, ie: USER_IN_WHITELIST -100.0 > But the Yahoo list messages are still coming in with scores or 0.0, > 0.3, 0.7, etc. My assumption is that the whitelisting isn't working. > What am I doing wrong? Passing the wrong things to whitelist_from_rcvd.. Be sure to check your files with spamassassin --lint. This should run silently, but if you have config-file errors it will complain.