procmail
[Top] [All Lists]

Foreign Spam ?

2004-02-21 01:12:05
The following spam header is slipping under the radar and I'm wondering
why it is:
                             From: 
±ÝÀ¶Ä³ÇÇÅ» <rmss(_at_)hotmail(_dot_)com>
                               To: 
nmcd <nmcd(_at_)optusnet(_dot_)com(_dot_)au>
                          Subject: 
¾ÆÁ÷Ä«µåºû¶§¹®¿¡!!°ÆÁ¤À̼¼¿ä?µ·ÇÊ¿ä
Çϼ¼¿ä?½ÑÀÌÀÚ±ÝÀ¶!!
                             Date: 
Fri, 20 Feb 04 23:12:19 ??ѹα? ǥ??


I've got procmailrc setup to invoke spamc and razor it then calls:
INCLUDERC=$PMDIR/rc.mailserver-check
INCLUDERC=$PMDIR/rc.subscriptions
INCLUDERC=$PMDIR/rc.foreign

rc.foreign is Sean B. Straw's procmail rule for foreign character sets
renamed. With a modification after after rule to send spam to spam
directory as so:

# Messages identifying the character set in the From: or Subject:
:0
* $ ^(From|Subject):${wsstar}=\?\/(${CHARSETS})\?[QB]
{
        # This scrubs the delimiters from the MATCH string,
        # leaving us with just the text of the matched charset
descriptor.
        :0
        * MATCH ?? ()\/[^?]+
        {
                SPAMVAL="+300"
                SPAMMISHNESS="${SPAMMISHNESS}${SPAMVAL}"
                SPAMNOTES="${SPAMNOTES}SPAM: ${SPAMVAL} Foreign
character set encoding (${MATCH}) used in From or Subject.${NL}"
        }
}
$MAILDIR/spam/


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


<Prev in Thread] Current Thread [Next in Thread>