On 11/06, Dan Mahoney, System Admin wrote:
> Has anyone come up with a ruleset yet to score against the new
> spamhaus whitelists, and deduct points appropriately?

Thanks for mentioning it.  This is based on the DNSWL rules and linted and
loaded, but only seconds ago, so not tested, please proofread, test, and
get into the mass checks?


ifplugin Mail::SpamAssassin::Plugin::DNSEval
header  __RCVD_IN_SWL   eval:check_rbl('swl-firsttrusted', 'swl.spamhaus.org.')
tflags  __RCVD_IN_SWL   nice net
endif

##{ RCVD_IN_SWL_INDIV ifplugin Mail::SpamAssassin::Plugin::DNSEval
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header   RCVD_IN_SWL_INDIV  eval:check_rbl_sub('swl-firsttrusted', '127.0.2.2')
describe RCVD_IN_SWL_INDIV  Sender listed at http://www.spamhauswhitelist.com/, 
individual
tflags   RCVD_IN_SWL_INDIV  nice net
endif
##} RCVD_IN_SWL_INDIV ifplugin Mail::SpamAssassin::Plugin::DNSEval

##{ RCVD_IN_SWL_TRANS ifplugin Mail::SpamAssassin::Plugin::DNSEval
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header   RCVD_IN_SWL_TRANS  eval:check_rbl_sub('swl-firsttrusted', '127.0.2.3')
describe RCVD_IN_SWL_TRANS  Sender listed at http://www.spamhauswhitelist.com/, 
transactional
tflags   RCVD_IN_SWL_TRANS  nice net
endif
##} RCVD_IN_SWL_TRANS ifplugin Mail::SpamAssassin::Plugin::DNSEval

##{ RCVD_IN_SWL_INDIV ifplugin Mail::SpamAssassin::Plugin::DNSEval
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header   RCVD_IN_SWL_INDIV_TEMP  eval:check_rbl_sub('swl-firsttrusted', 
'127.0.2.102')
describe RCVD_IN_SWL_INDIV_TEMP  Sender listed at 
http://www.spamhauswhitelist.com/, individual temporary
tflags   RCVD_IN_SWL_INDIV_TEMP  nice net
endif
##} RCVD_IN_SWL_INDIV ifplugin Mail::SpamAssassin::Plugin::DNSEval

##{ RCVD_IN_SWL_TRANS ifplugin Mail::SpamAssassin::Plugin::DNSEval
ifplugin Mail::SpamAssassin::Plugin::DNSEval
header   RCVD_IN_SWL_TRANS_TEMP  eval:check_rbl_sub('swl-firsttrusted', 
'127.0.2.103')
describe RCVD_IN_SWL_TRANS_TEMP  Sender listed at 
http://www.spamhauswhitelist.com/, transactional temporary
tflags   RCVD_IN_SWL_TRANS_TEMP  nice net
endif
##} RCVD_IN_SWL_TRANS ifplugin Mail::SpamAssassin::Plugin::DNSEval


# SWL
score RCVD_IN_SWL_INDIV 0 -2.3 0 -2.3 
score RCVD_IN_SWL_TRANS 0 -5 0 -5 
score RCVD_IN_SWL_INDIV_TEMP 0 -0.1 0 -0.1
score RCVD_IN_SWL_TRANS_TEMP 0 -0.1 0 -0.1


-- 
"To my mind it is wholly irresponsible to go into the world incapable of
preventing violence, injury, crime, and death. How feeble is the mindset
to accept defenselessness. How unnatural. How cheap. How cowardly. How
pathetic." - Ted Nugent
http://www.ChaosReigns.com

Reply via email to