Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Keyword filtering REGEX
  FAQ FAQ  Forum Search   Register Register  Login Login

Keyword filtering REGEX

 Post Reply Post Reply
Author
Steve Brown View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve Brown Quote  Post ReplyReply Direct Link To This Post Topic: Keyword filtering REGEX
    Posted: 16 October 2003 at 5:13pm

We are getting more and more messages skating by our SpamFilter server by misspelling commonly filtered words.

Example: vi.agra

This might be very simple but I cannot get the regex to catch this scenario for whatever reason.  Probably because the " . " is some sort of operator for the regex statement.  Can someone provide me with an example regex that would catch the keyword "viagra" even with a " . " between the letters?

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: 16 October 2003 at 10:01pm

Steve,

In a case like this, it really is best to try to find the pattern that the Spammers are using to obscure the message.  Ususally, there are a boat load of html tags and coments that break up the message so that normal, literal keyword filters won't find anything. Have you looked at any of my posts on regular expressions?  If so, did this particular message get past them?

If you want, I can e-mail you my latest RegEx filters.  LogSat Support can send me your address to mail to if you feel OK with that.

Dan S.

 

Back to Top
Steve Brown View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Steve Brown Quote  Post ReplyReply Direct Link To This Post Posted: 17 October 2003 at 11:50am

Dan,

I have tried some of your regexs from previous posts but they didn't seem to do anything.  I'm going to check on what version of SpamFilter I'm running since it might be different with a newer one.  If I'm behind, I plan to upgrade to the latest stable release.

You're right about the garbage HTML tags.  A closer look at the HTML source of the spam messages revealed that they are throwing random garbage tags in between letters of normally blocked words like you said (not that I doubted it). 

If you could send me the list of regexs you're running so I could try that in conjunction with an update to my SpamFilter if needed, that would be great.

Thanks,
Steve

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 October 2003 at 12:11pm

Steve,

Send an email to support@logsat.com and ask Roberto to send Dan S's email address to you.

 

Back to Top
Brian Lewis View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brian Lewis Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2003 at 4:18pm

Dan S. could you email me a copy of your RegEx filter as well?  I'd really like to have a good starting base for the Spamfilter I just enabled at our company to work from and tweak.

blewis@#REMOVEME#alexanders.net

must take out #REMOVEME# from the above address

I appreciate it.

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.344 seconds.