Print Page | Close Window

Keyword Rule - Special caracters

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6248
Printed Date: 15 July 2025 at 3:28am


Topic: Keyword Rule - Special caracters
Posted By: Vmachine
Subject: Keyword Rule - Special caracters
Date Posted: 20 September 2007 at 1:05pm
Hi everybody,
 
Sorry for my bad English ... I'm from Belgium
 
I have a big problem ...
My mail server crash when receive mail with this subject : ]*)+ .]]*)(  ]) .]: [!- !  *  -
 
Have you a keyword rule for blocking mail when subject contain only special caracters ?
 
 
 
 
 



Replies:
Posted By: Desperado
Date Posted: 20 September 2007 at 4:28pm
Hmm ... How about:
((?i)subject:(\ ){0,1}(\W){9,})
 
NOTE:  May want to increase the "9" ... say to 11 or 12


-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com



Posted By: Vmachine
Date Posted: 21 September 2007 at 2:49am
Thanks Desperado,
 
 
I'm now testing this rule


Posted By: Desperado
Date Posted: 21 September 2007 at 10:37am
Vmachine,
 
A warning.  Since you commented on your English, (which was much better than some Americans I work with), I will make the following warning on my RegEx.  In the English Language, "!!!" does not mean more exclamatory .. it is bad grammar.  Only one "!" is allowed.  Same for the "?" but many people still do it.  With the RegEx I whipped up, if there is a subject of "Hey There !!!!!!!!!" it will get blocked. The same applies for "What's Up ?????????"  You may want to play with increasing the number 9 to something higher until any "False" Positives reduce.


-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com



Posted By: dcook
Date Posted: 24 September 2007 at 10:31am
Thanks Dan!!!!!!!!!!
lolBig%20smile


-------------
Dwight
www.vividmix.com


Posted By: Desperado
Date Posted: 24 September 2007 at 10:44am
Wise Guy Huh?????!!!!
BTW ... I am using "10" at tish time and have only hit one possible False Positive at this time after nearly 1000 blocks.


-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com



Posted By: Vmachine
Date Posted: 29 September 2007 at 5:47am
Hi Desperado,

All work as fine with your rule. Thank you very much for your help
 
A have another question LOL :
 
How to block mail with long word ? (more than 30 caracters)
For exemple : vehegemdtdvemcmemehekegdtdwdxbududxhizydbdgsdiiqrefepkbkkkdlzclat
 
Thank you in advance
 
 


Posted By: Desperado
Date Posted: 30 September 2007 at 9:44pm
That one becomes problematic as an image will look like a LOOOOONG word the the keyword scanner.  I have not had very good luck with this one.

-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com




Print Page | Close Window