Len Conrad wrote:
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?
Or other ideas to debug?
Thanks
Len
The correct postmap test would be:
postmap -q "79-70-88-236.as9105.com"
pcre:/usr/local/etc/postfix/client_filter.class
ie. no "]" included in the query. The regexp shown is quite
unlikely to ever match anything. Drop the trailing ".*\["
-- Noel Jones