Louis-David Mitterrand <vindex+lists-postfix-us...@apartia.org> writes:

> Hi,
>
> A lot of spam comes from certain ip ranges (e.g. west africa) through
> relays (large ISPs) that would be too onerous to block. To filter these
> I am presently matching: 
>
>       /^((Received|X-Originating-IP):.+\b(124\.120\.1\.(<IP RANGE IN 
> REGEX>)\b/
>
> in pcre:/etc/postfix/header_access. But converting IP ranges to regex'es
> is time consuming and error prone.
>
> Is there a way to use a cidr table for header matching while retaining
> control of the prefix ^(Received|X-Originating-IP) ?
>
> Or another better way?

Use Google Apps: http://www.google.com/a ;;
Unfortunately, Google Apps is the best solution for spam filtering, as
far as i know.

Sincerely,

-- 
Byung-Hee HWANG, KNU 
∑ WWW: http://izb.knu.ac.kr/~bh/

Reply via email to