Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 08:30:59 +0200
From:      Anders Gulden Olstad <andersgo@alge.anart.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: Non English Spam
Message-ID:  <45308423.5090801@alge.anart.no>
In-Reply-To: <200610131712.46822.freebsd@alaskaparadise.com>
References:  <200610131712.46822.freebsd@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45308423.5090801>