-----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-----

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to