* on the Tue, Mar 31, 2015 at 12:15:31PM -0400, Joe Quinn wrote:

>>> You can fairly easily write a meta that reverses the score of each RBL
>>> and SPF rule if your condition fires.

>> Any chance you could point me to an example of how to do this?

> Here's an example from when Yahoo's internal Received headers were
> hitting RCVD_ILLEGAL_IP, taken from here:
> http://www.pccc.com/downloads/SpamAssassin/contrib/KAM.cf
> 
> header __KAM_YAHOO_MISTAKE1 From =~ /\@yahoo\./i
> 
> meta     KAM_YAHOO_MISTAKE (SPF_PASS && __KAM_YAHOO_MISTAKE1 &&
> RCVD_ILLEGAL_IP)
> describe KAM_YAHOO_MISTAKE Reversing score for some idiotic Yahoo
> received headers
> score    KAM_YAHOO_MISTAKE -3.0
> 
> This rule undoes RCVD_ILLEGAL_IP, which has a score of 3.0.

Thanks for the example. The only problem with the above is that I believe
I would have to write a rule for every single RBL and keep those rules
up to date whenever a new RBL is added or score updated by upstream.
Is there any way of avoiding that?

-- 
Mike Cardwell  https://grepular.com https://emailprivacytester.com
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3   B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1   BF1B 295C 3C78 3EF1 46B4

Attachment: signature.asc
Description: Digital signature

Reply via email to