Giampaolo Tomassoni wrote:
From: Ken A [mailto:[EMAIL PROTECTED]
Just add 10 to a test that matches everything, then subtract 10 for being in the U.S.

Yeah. And keep 10 for canada, mexico and south america...

You're beginning to speak alone, isn't it?

Well, the way I look at it, if you are going to do one really dumb thing (block all mail from outside the US IP space) then you might as well do another one, and setup your rules so that you'll block everything if your DNS fails. :-)
Ken A
Pacific.Net



giampaolo

Ken A.
Pacific.Net

Robert Swan wrote:
Let's say I wanted to score everything but the US. Do I have to write
rule for every country or is there an easier way?

Robert
header RCVD_IN_NERDS    
eval:check_rbl('nerds','zz.countries.nerd.dk.')
describe RCVD_IN_NERDS  Received from a spam country
tflags RCVD_IN_NERDS    net

header RCVD_IN_NERDS_CN
eval:check_rbl_sub('nerds','127.0.0.156')
describe RCVD_IN_NERDS_CN       Received from China
tflags RCVD_IN_NERDS_CN         net
score RCVD_IN_NERDS_CN          1.0

header RCVD_IN_NERDS_KR
eval:check_rbl_sub('nerds','127.0.0.154')
describe RCVD_IN_NERDS_KR       Received from Rep. of Korea
tflags RCVD_IN_NERDS_KR         net
score RCVD_IN_NERDS_KR 1.0


Reply via email to