On Wednesday, Jun 7th 2006 at 09:53 -0700, quoth John D. Hardin:

=>On Wed, 7 Jun 2006, Screaming Eagle wrote:
=>
=>> country, other than USA?  How would you look up the network block
=>> on country such as Romania, China, Taiwan,Thailand, Korea, and so
=>> on...
=>
=>describe BL_COUNTRY_TW_1 Mail client in Taiwan
=>header   BL_COUNTRY_TW_1 eval:check_rbl('taiwan', 'tw.countries.nerd.dk')
=>score    BL_COUNTRY_TW_1 0.5
=>tflags   BL_COUNTRY_TW_1 net

I'm running a sendmail server and I already block a few countries in my mc 
file. e.g., 

FEATURE(enhdnsbl,`kr.countries.nerd.dk', `SPAM from Korea:$&{client_addr} 
rejected',`t')dnl
FEATURE(enhdnsbl,`cn.countries.nerd.dk', `SPAM from China:$&{client_addr} 
rejected',`t')dnl

Are there any pros or cons to doing the checks in the mc file vs sa 
config? In the case of sa I am using spamass-milter so the message will be 
rejected either way.

TIA

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net

Reply via email to