Non English Spam
Anders Gulden Olstad
andersgo at alge.anart.no
Fri Oct 13 23:31:19 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Beech Rintoul wrote:
> I'm getting a ton of spam every day that comes from China, Japan and Korea.
> Spam Assassin completely ignores it because it has all non-english characters
> and slows kmail to a crawl loading. Is there a way to filter on non-english
> either using Spam Assassin or procmail?
>
> Suggestions would be appreciated.
>
> Beech
This procmail rule catches all of my non-english spam
# Trap misc charset mail in header and body
:0HB
* charset=.*BIG5.*|\
charset=.*GB2312.*|\
charset=.*DEFAULT_CHARSET.*|\
charset=.*ks_c_5601-1987.*|\
charset=.*euc-kr.*|\
charset=.*ISO-2022-KR.*|\
^Subject:.*BIG5.*|\
^Subject:.*GB2312.*
/dev/null
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFMIQTMVyOPWVstbURAsaGAKDXkCWAJ2xonZdWlNhKT61rpuhgzgCgsez2
CwIgRdaN4Q6/RkqfcRjkOB4=
=9ltQ
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list