Hi,

I'm basically trying to protect my users from the following:

Spam 
- Sent from accounts hosted on freemail providers (yahoo, ...)
- Originating from AfriNIC ranges
- Tergetted at several dozen of users

The headers look like this:
Received: from [41.207.213.162] by web1104.biz.mail.sk1.yahoo.com via HTTP; 
Tue, 04 May 2010 14:44:20 PDT


It is fairly trivial to block suck things via a header access map

if
/^(Received|X-((Origin(ating)?|Client|MDRemote|Sender)-?IP|(Client|Remote_)Addr|PHP-Script)):/
/\b(41\.\d+\.\d+\.\d+)\b/ REJECT regional junk 001 #Africa
endif

Some of my users receive a few legitimate emails from Africa.

Apart from using a policy server, can postfix natively be configured to
acheive this goal ?

Since header access do apply to all emails, I don't think so, but ...
it's worth asking ;)

Thanks

Laurent

-- 
lca...@unix-scripts.info

Reply via email to