procmail
[Top] [All Lists]

Re: ASCII 128-255

2005-05-12 15:17:30
On Thu, May 12, 2005 at 10:47:30PM +0200, Tomi Crnicki wrote:
Hello!

I suppose somebody asked this before but I couldn't find a helpfull 
link.

Can I somehow filter out with procmail messages coming mostly from 
Russia and ex-Russian countries and the Far East that don't have any 
charset tags or have f.i. charset Win1251 (some others also 
sometimes) and are filled with characters (subject and/or message) 
with ASCII codes 128-255. All such messages are spam for our users.

Again I can't filter them all out as some messages have charset 
Win1251 but are not spam - these no-spam messages contain only the 
ASCII characters 32-127.

Tomi Crnicki - Abacus, Croatia

How about something like
    :0 D
    * ^(Subject|SUBJECT):.\/.*
    * -1^1 MATCH ?? [a-zA-Z0-9]
    *  1^1 MATCH ?? [^a-zA-Z0-9]

Taken from
    http://home.eol.ca/~parkw/index.html#spam
    http://freshmeat.net/projects/popchecksh/

-- 
William Park <opengeometry(_at_)yahoo(_dot_)ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
           http://home.eol.ca/~parkw/thinflash.html

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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