Let's not forget tflags net also..
On Tue, Mar 26, 2019 at 06:39:19AM +0200, Henrik K wrote: > > Please use "reuse" for askdns __subrules also. > > On Mon, Mar 25, 2019 at 08:46:59PM -0000, [email protected] wrote: > > Author: pds > > Date: Mon Mar 25 20:46:59 2019 > > New Revision: 1856230 > > > > URL: http://svn.apache.org/viewvc?rev=1856230&view=rev > > Log: > > Remove fmbla, adopt DKIMWL from davej > > > > Added: > > spamassassin/trunk/rulesrc/sandbox/pds/20_dkimwl.cf > > Removed: > > spamassassin/trunk/rulesrc/sandbox/pds/20_fmblanewdomain.cf > > > > Added: spamassassin/trunk/rulesrc/sandbox/pds/20_dkimwl.cf > > URL: > > http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/pds/20_dkimwl.cf?rev=1856230&view=auto > > ============================================================================== > > --- spamassassin/trunk/rulesrc/sandbox/pds/20_dkimwl.cf (added) > > +++ spamassassin/trunk/rulesrc/sandbox/pds/20_dkimwl.cf Mon Mar 25 20:46:59 > > 2019 > > @@ -0,0 +1,39 @@ > > +ifplugin Mail::SpamAssassin::Plugin::AskDNS > > + > > +askdns __DKIMWL_FREEMAIL _DKIMDOMAIN_.lookup.dkimwl.org A > > /^127\.\d+\.3\.\d+$/ > > +askdns __DKIMWL_BULKMAIL _DKIMDOMAIN_.lookup.dkimwl.org A > > /^127\.\d+\.2\.\d+$/ > > + > > +askdns __DKIMWL_WL_HI _DKIMDOMAIN_.lookup.dkimwl.org A > > /^127\.\d+\.\d+\.5$/ > > +meta DKIMWL_WL_HIGH __DKIMWL_WL_HI && !(FREEMAIL_FROM || > > FREEMAIL_REPLYTO || FREEMAIL_FORGED_REPLYTO || __DKIMWL_FREEMAIL || > > __DKIMWL_BULKMAIL) > > +tflags DKIMWL_WL_HIGH nice net > > +describe DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender > > +score DKIMWL_WL_HIGH -3.0 # limit > > +reuse DKIMWL_WL_HIGH > > + > > +askdns __DKIMWL_WL_MEDHI _DKIMDOMAIN_.lookup.dkimwl.org A > > /^127\.\d+\.\d+\.4$/ > > +meta DKIMWL_WL_MEDHI __DKIMWL_WL_MEDHI && !(FREEMAIL_FROM || > > FREEMAIL_REPLYTO || FREEMAIL_FORGED_REPLYTO || __DKIMWL_FREEMAIL || > > __DKIMWL_BULKMAIL) > > +tflags DKIMWL_WL_MEDHI nice net > > +describe DKIMWL_WL_MEDHI DKIMwl.org - Medium-high sender > > +score DKIMWL_WL_MEDHI -1.0 # limit > > +reuse DKIMWL_WL_MEDHI > > + > > +askdns __DKIMWL_WL_MED _DKIMDOMAIN_.lookup.dkimwl.org A > > /^127\.\d+\.\d+\.3$/ > > +meta DKIMWL_WL_MED __DKIMWL_WL_MED && !(FREEMAIL_FROM || > > FREEMAIL_REPLYTO || FREEMAIL_FORGED_REPLYTO || __DKIMWL_FREEMAIL || > > __DKIMWL_BULKMAIL) > > +tflags DKIMWL_WL_MED nice net > > +describe DKIMWL_WL_MED DKIMwl.org - Medium sender > > +score DKIMWL_WL_MED -0.5 # limit > > +reuse DKIMWL_WL_MED > > + > > +askdns DKIMWL_BL _DKIMDOMAIN_.lookup.dkimwl.org A /^127\.\d+\.\d+\.0$/ > > +tflags DKIMWL_BL net > > +describe DKIMWL_BL DKIMwl.org - Blacklisted sender > > +score DKIMWL_BL 4.0 # limit > > +reuse DKIMWL_BL > > + > > +askdns DKIMWL_BLOCKED _DKIMDOMAIN_.lookup.dkimwl.org A 127.255.255.255 > > +tflags DKIMWL_BLOCKED net > > +describe DKIMWL_BLOCKED ADMINISTRATOR NOTICE: The query to DKIMWL.org > > was blocked. See > > http://wiki.apache.org/spamassassin/DnsBlocklists\#dnsbl-block for more > > information. > > +score DKIMWL_BLOCKED 0.001 # limit > > +reuse DKIMWL_BLOCKED > > + > > +endif > >
