From owner-freebsd-questions@FreeBSD.ORG Sat Oct 14 06:31:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06F6E16A403 for ; Sat, 14 Oct 2006 06:31:19 +0000 (UTC) (envelope-from andersgo@alge.anart.no) Received: from alge.anart.no (alge.anart.no [195.159.18.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CDF543D46 for ; Sat, 14 Oct 2006 06:31:18 +0000 (GMT) (envelope-from andersgo@alge.anart.no) Received: from [IPv6:::1] (andersgo@alge.anart.no [195.159.18.67]) by alge.anart.no (8.13.0/8.13.0) with ESMTP id k9E6VBEg011057 for ; Sat, 14 Oct 2006 08:31:11 +0200 (CEST) Message-ID: <45308423.5090801@alge.anart.no> Date: Sat, 14 Oct 2006 08:30:59 +0200 From: Anders Gulden Olstad User-Agent: Thunderbird 1.5.0.7 (X11/20060923) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200610131712.46822.freebsd@alaskaparadise.com> In-Reply-To: <200610131712.46822.freebsd@alaskaparadise.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Non English Spam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 06:31:19 -0000 -----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-----