[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Special Characters in Subject
- Subject: Re: [vps-mail] Special Characters in Subject
- From: Sikaspam <sikaspam@xxxxxxxxxxx>
- Date: Sat, 14 Feb 2004 07:10:20 +0100
Mark Moulder wrote:
I am wondering if anyone has a procmail rule they can share that will look
for characters such as / \^ | in the subject of the message.
With Scott's and others' help a while back, and after testing/refining I
am using the one below. Note it counts normal punctuation too, because a
lot of this type of spam I have received had lots of periods, commas
and colons too. You can tune the number 5 higher for greater safety.
#any combo of these characters in excess
BADCHR=[,:;\^\'\`\.\"@]
:0
* ^Subject:[ ]*\/[^ ].*
{
:0
* -5^0
* 1^1 $ MATCH ?? ${BADCHR}
{
LOG="Found $= (+5) suspicious chars: $MATCH $NL "
:0:
$MAYBESPAM
}
}
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index