Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - keyword filter
  FAQ FAQ  Forum Search   Register Register  Login Login

keyword filter

 Post Reply Post Reply
Author
Zoro View Drop Down
Newbie
Newbie


Joined: 27 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zoro Quote  Post ReplyReply Direct Link To This Post Topic: keyword filter
    Posted: 23 November 2005 at 4:50am
I add some words in keyword filter, but it seems not working.
I send a mail with a world in subject that I expect to be rejected, instead it is  regularly forwarded.
Thank you for any suggestion

Back to Top
LogSat View Drop Down
Admin Group
Admin Group
Avatar

Joined: 25 January 2005
Location: United States
Status: Offline
Points: 4065
Post Options Post Options   Thanks (0) Thanks(0)   Quote LogSat Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 7:49am
Please post the entries you are adding to the keyword file, along with the original source of the email so we can try to help. Please note that Microsoft Outlook and a few other email clients will drastically change the email's content/format when they display it on screen, while SpamFilter will perform text searches in the original's email source.
Roberto Franceschetti

LogSat Software

Spam Filter ISP
Back to Top
Zoro View Drop Down
Newbie
Newbie


Joined: 27 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zoro Quote  Post ReplyReply Direct Link To This Post Posted: 23 November 2005 at 11:10am
These are some words in my keyword filter

(\bsex\b)
(\bc[\s-_.]*i[\s-_.]*a[\s-_.]*l[\s-_.]*i[\s-_.]*s[\s-_.]*\b)
((?i)(\bcialis\b)|(\bc.i.a.l.i.s\b))
((?i)(you[\s-_.]*visit[\s-_.]*illegal[\s-_.]*websites))

the first expression works rejecting the word sex
the second one block cialis and some variants (c.i_a-l i s, etc)
I found the third in the forum, and it should work as the second, but it doesn't
I wrote the 4th to reject a full sentence occurrence: it doesn't.
Back to Top
Zoro View Drop Down
Newbie
Newbie


Joined: 27 October 2005
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Zoro Quote  Post ReplyReply Direct Link To This Post Posted: 25 November 2005 at 4:37am
I learned to add 'Subject' to make SF find keywords in the mail subject:
(\bSubject:\b \bcialis\b)
will find the word cialis only if it's in the mail subject
while
(\bcialis\b) will find cialis only if it is in the mail body, won't if only in subject

Is this the right way?


Back to Top
briandayton View Drop Down
Newbie
Newbie
Avatar

Joined: 02 December 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote briandayton Quote  Post ReplyReply Direct Link To This Post Posted: 02 December 2005 at 6:39pm
Another thing that you need to take in consideration is that spammers also utilize unicode to get past filters. MS Outlook may show you a subject line with the word sex in it, but viewing the message header may show that the entire subject is in unicode format.  You are on the right path with prefixing your regex with 'subject:' that will give you a better chance to match what you are trying to block.
Back to Top
Raja Raheel View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raja Raheel Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2005 at 4:33am

hi

Im facing the same problem. I do have prefixed "Subject" before those words, but mostly its not working. even the simple straight words are not filtering, and in some cases, it just prefix SPAM in the subject line and send that mail.

So please do help me, what should i do now.

Raja Raheel

Back to Top
briandayton View Drop Down
Newbie
Newbie
Avatar

Joined: 02 December 2005
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote briandayton Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2005 at 10:48am
Be sure that the subject you are referring to is the one that is read from the headers and not the subject line you see when viewing the email in apps such as MS Outlook.  The email header information is where the regex matches against and this is where you may find your issue at.  When I configure regexes to filter on, I always copy the email header info in full and test against that for subject filter.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.086 seconds.