Keyword Rule - Special caracters |
Post Reply ![]() |
Author | |
Vmachine ![]() Newbie ![]() ![]() Joined: 29 November 2006 Location: Belgium Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() 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 ?
Edited by Vmachine - 20 September 2007 at 1:06pm |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Hmm ... How about:
((?i)subject:(\ ){0,1}(\W){9,})
NOTE: May want to increase the "9" ... say to 11 or 12 Edited by Desperado - 21 September 2007 at 10:44am |
|
The Desperado
Dan Seligmann. Work: http://www.mags.net Personal: http://www.desperado.com |
|
![]() |
|
Vmachine ![]() Newbie ![]() ![]() Joined: 29 November 2006 Location: Belgium Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Thanks Desperado,
I'm now testing this rule
|
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
dcook ![]() Senior Member ![]() ![]() Joined: 31 January 2005 Location: United States Status: Offline Points: 174 |
![]() ![]() ![]() ![]() ![]() |
Thanks Dan!!!!!!!!!!
lol
![]() |
|
Dwight
www.vividmix.com |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
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. Edited by Desperado - 24 September 2007 at 10:46am |
|
The Desperado
Dan Seligmann. Work: http://www.mags.net Personal: http://www.desperado.com |
|
![]() |
|
Vmachine ![]() Newbie ![]() ![]() Joined: 29 November 2006 Location: Belgium Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
Hi Desperado,
All work as fine with your rule. Thank you very much for your help A have another question
![]() How to block mail with long word ? (more than 30 caracters)
For exemple : vehegemdtdvemcmemehekegdtdwdxbududxhizydbdgsdiiqrefepkbkkkdlzclat
Thank you in advance
|
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.215 seconds.