>with a match-all-but its probably better to do DUNNO anyway...

and it's working with this order:

#first, don't match smtp and biz under rr.com
/(smtp.*|biz)\.rr\.com/ DUNNO

#them, match all other rr.com
/(.*rr\.com)/ 554 ACL mta_clients_subscriber The IP address of your sending 
machine is on a proscribed subscriber access network. Send from a 
non-subscriber network, PTR = $1

note the format of the custom error msg, esp the "," and placing the 
backref variable $1 after the ",".   Jim Seymour/pflogsumm says pflogsumm 
will truncate parsing at the "," so only the fixed string is included, 
consolidating all
such reject into one pflogsumm category, instead of treating each custom $1 
msg as its own category.


>but for all of our reference if you do have a particular regexp that you
>just want a 'match this except for that'
>you can also do
>
>/(?!(dontmatch1)(dontmatch2))(?=(match1)(match2))tailstring/

ok, noted, that will undoubtedly be useful somewhere.

Len


Reply via email to