Len Conrad a écrit : > 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 >
what's that '[' doing here? > ... 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 > remove the \[ part. and BTW, here is a shorter version: /(\d{1,3}[-\.]){3}\d{1,3}/ class_client_filter > ... but is not going to the restriction class as actual SMTP client. > Because the PTR doesn't contain a '[', so it won't match your expression. > 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 > >