Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Wildcard question
  FAQ FAQ  Forum Search   Register Register  Login Login

Wildcard question

 Post Reply Post Reply
Author
Rauco View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rauco Quote  Post ReplyReply Direct Link To This Post Topic: Wildcard question
    Posted: 17 January 2005 at 7:46pm

Not sure of the usage of wildcards.  I have a list of blacklisted domains that I want to add wildcards to.  For example, if I want to block all e-mails from acme.com including things like ns1.acme.com, which would I use this: *acme.com?  Or do I need the @ like *@*acme.com?

Thanks

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 17 January 2005 at 11:50pm
Rauco,
 
OK ... you will hate me but I would actually use the following RegEx:
((?i).+?@(.+?\.){0,2}acme.com)
 
This means Don't test for case, then one or more chars, then 0 or more chars+dot 0-2 times and then acme.com ... OR
The following:
 
Regards,
 
Dan S.
Back to Top
Rauco View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rauco Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2005 at 6:42pm

Nope.  I don't hate you at all - I just have to find a good reference for RegEx!  lol

Thanks.  I'll be tacking that on the front of all the blacklisted domains I have until I expand my RegEx knowledge.

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2005 at 7:09pm

Rauco,

Remember that that was not a "simple" entry but a Regular Expression and as such must hav the ( ) around the expression exactly as I show or it will break.

Dan S.

Back to Top
Rauco View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rauco Quote  Post ReplyReply Direct Link To This Post Posted: 19 January 2005 at 8:37am

Dan -

With the little I know about RegEx it seemed that the ( ) were needed but thanks for the heads up.

It works great so far and I've installed Regex Coach to get me farther.  Thanks again!

Back to Top
keizersozay View Drop Down
Groupie
Groupie
Avatar

Joined: 26 January 2005
Location: United States
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote keizersozay Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 8:52am

Dan,
Do you put this in your keyword filter file, black list email address file, or black list domain file?

Thanks.

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 10:37am

This would be the BlockedFrom email blacklist.

Dan

Back to Top
Rauco View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rauco Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 8:21pm
Wouldn't it also work in the blocked domains?
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 8:28pm

It will but only if (I believe) the actual IP resolves to those names.

Dan S.

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.129 seconds.