> A couple of dozen regular expressions that match things like "dynamic",
> "home", numeric addresses and similar patterns in /etc/postfix/spam_ip_regex
> in smtpd_client_restrictions cuts the spam and the calls to RBLs way down:
>
> smtpd_client_restrictions =
>       permit_mynetworks,
>       permit_sasl_authenticated,
>       reject_unauth_destination,
>       hash:/etc/postfix/whitelist,
>       regexp:/etc/postfix/spam_ip_regex,
>       reject_unknown_reverse_client_hostname,
>       reject_unauth_pipelining,
>       reject_non_fqdn_recipient,
>       reject_rbl_client zen.spamhaus.org
>
> Terry
>

Avoid use implicit client check. Use check_client_access
hash:/etc/postfix/whitelist, check_client_access
regexp:/etc/postfix/spam_ip_regex

-- 
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net

Reply via email to