>
> Terry
>
> ---------------------------
>
>
> smtpd_client_restrictions=reject_unknown_reverse_client_hostname . . .
>
> check_client_access=regexp:/etc/postfix/spam_ip_regex
>
> spam_ip_regex file:
>
> /[ax]dsl.*\..*\..*/i     450 AUTO_XDSL Email Rejected. You appear to be
> connecting from a Dynamic IP address. /client.*\..*\..*/i       450
> AUTO_CLIENT Email Rejected. You appear to be connecting from a Dynamic IP
> address.
> /cable.*\..*\..*/i       450 AUTO_CABLE Email Rejected. You appear to be
> connecting from a Dynamic IP address.
> /dial.*\..*\..*/i         450 AUTO_DIAL Email Rejected. You appear to be
> connecting from a Dynamic IP address.
>

I builld this:

/([0-9]{1,3}(\.|-)){3}.*\.[a-z]+/ reject generic hostname
/(^a?dsl|a?dsl(\.|-)|(\.|-)a?dsl|(\.|-)d(yn|ip|ial)(\.|-)|(\.|-)cable(\.|-)|(\.|-)user(\.|-)|^dynamic|(\.|-)dynamic|dynamic(\.|-)|(\.|-)ppp(oe)?(\.|-|)|^ppp)/
  reject generic hostname

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

Reply via email to