Len Conrad:
> I've got a restriction class client_filter.class, which has several PCREs.
> 
> The problem is that some PTRs that should be shunted into that class are not. 
>  
> 
> When I test/paste actual maverick PTRs, eg this "access net" PTR:
> 
> postmap -q "79-70-88-236.as9105.com[" 
> pcre:/usr/local/etc/postfix/client_filter.class
> client_filter.class
> 
> ... they work, and works for each different PCRE in the .class.  
> 
> The above is caught by:
> 
> /[0-9]{1,3}(\.|\-)[0-9]{1,3}(\.|\-)[0-9]{1,3}(\.|\-)[0-9]{1,3}.*\[/ 
> client_filter.class
> 
> ... but is not going to the restriction class as actual SMTP client.
> 
> With "smtpd -v", what I'm a supposed to be looking for to see where the 
> failure is?

The Postfix SMTP server does not query access tables with name[address].
See the access(5) manual page.

To match the client hostname 79-70-88-236.as9105.com, use a pattern of

/^[0-9]+-[0-9]+-[0-9]+-[0-9]+\.as9105\.com$/

or some variation on the pattern.

        Wietse

Reply via email to