On Sat, Apr 10, 2010 at 7:49 PM, Stan Hoeppner <s...@hardwarefreak.com> wrote: > smtpd_recipient_restrictions = > ... > check_client_access regexp:/etc/postfix/fqrdns.regexp > ... > > /etc/postfix/fqrdns.regexp > http://www.hardwarefreak.com/fqrdns.regexp > > This regex file is free for anyone to use if you wish to. The FP rate > should be zero since it matches only dynamic/generic rdns names. > > -- > Stan >
In other words: /([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 "Don't try to adapt the software to the way you work, but rather yourself to the way the software works" (myself)