On 3/25/2013 7:55 AM, Lima Union wrote: > On Sat, Mar 23, 2013 at 11:31 AM, Benny Pedersen <m...@junc.eu> wrote: >> Ejaz skrev den 2013-03-23 11:49: >> ... >> >> are you missing http://www.hardwarefreak.com/fqrdns.pcre ? :) > > very interesting link, as I understand my postfix is not prepared for > pcre thus I won't be able to use it, right? > > $ /usr/sbin/postconf -m > btree > cidr > environ > hash > internal > ldap > nis > proxy > regexp > static > tcp > unix > > LU >
You can use this file as a regexp: type. pcre is recommended as it's a little faster than the built-in regexp library on most systems. This particular file doesn't (seem to) have any pcre-specific syntax in it, so should work fine with regexp. You can test it yourself easily enough... # postmap -q foo regexp:fqrdns.pcre (yes, I mean "foo"; should give no output nor errors) # postmap -q 000000.cpe.cableonda.net regexp:fqrdns.pcre REJECT Generic - Please relay via ISP (cableonda.net) (picked at random, shows that matching works) -- Noel Jones