OK whitelists everything (skips rest of smtp restrictions).

Though the DUNNO may be more practical here.
Having a hell of a time doing the regexp

Thought I love the challenge

/pattern/ DUNNO
Man 5 access

Seems similar to OK in that the access map returns "clean"
But it moves on to the next restriction, whereas OK would skip reamining
restrictions.
( ok = whitelist from this point on, we got a match its good)


-----Original Message-----
From: Bill Landry [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 13, 2003 9:17 PM
To: [EMAIL PROTECTED]
Subject: [IMGate] Re: are we lazy as he says ?



Why not something simple like:

/(smtp)|(biz).*\.rr\.com/ OK
/.*\.rr.com/ 554 ACL Baker test

Bill

----- Original Message ----- 
From: "Len Conrad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2003 6:38 PM
Subject: [IMGate] Re: are we lazy as he says ?




>ok, I commented out mine and pasted in yours:
>
>#/(smtp.*|biz)\.rr.com/ DUNNO
>
>/(?!(smtp.*)|(biz))(?=(^cpe)|(^cm)|(dhc)).*\.rr\.com/ 554 ACL Baker 
>test

ok, but rr.com's subscriber PTR's are all over the map. not starting only
with cpe, cm or dhc, but all kinds of weird stuff, no consistency at all.

So what we want is a regex to block all rr.com PTRs except those containing
"smtp" or "biz".  I tried this:

/(?!(smtp.*)|(biz)).*\.rr\.com/ 554 ACL Baker test

But it matches everything with rr.com.  help, Tom!

Len




Reply via email to