From owner-freebsd-questions@FreeBSD.ORG Sat Oct 14 13:04:41 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 CEBAC16A403 for ; Sat, 14 Oct 2006 13:04:41 +0000 (UTC) (envelope-from freebsd@alaskaparadise.com) Received: from stargate.alaskaparadise.com (114-103-74-65.gci.net [65.74.103.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC54143D46 for ; Sat, 14 Oct 2006 13:04:40 +0000 (GMT) (envelope-from freebsd@alaskaparadise.com) Received: by stargate.alaskaparadise.com (Postfix, from userid 0) id 73F4645A0; Sat, 14 Oct 2006 05:04:39 -0800 (AKDT) From: Beech Rintoul Organization: Alaska Paradise To: freebsd-questions@freebsd.org Date: Sat, 14 Oct 2006 05:04:14 -0800 User-Agent: KMail/1.9.4 References: <200610131712.46822.freebsd@alaskaparadise.com> <453054DE.1030506@infracaninophile.co.uk> In-Reply-To: <453054DE.1030506@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1968912.2yim0LycQF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200610140504.37155.freebsd@alaskaparadise.com> Cc: 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 13:04:41 -0000 --nextPart1968912.2yim0LycQF Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 13 October 2006 19:09, Matthew Seaman wrote: > 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-engli= sh > > 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. > > Install the IP::Country perl modules (port: net/p5-IP-Country) and > uncomment the lines in /usr/local/etc/mail/spamassassin/init.pre to > enable Mail::SpamAssassin::Plugin::RelayCountry plugin, which causes > the Bayesian filters to learn which countries relay most spam to you. > > Look for the discussion on 'ok_locales' in the Mail::SpamAssassin::Conf > perldoc. Set that to 'en' and messages in character sets other than > anything based on the Latin (and possibly Greek) alphabet will get a > higher spam score. You can put that into > /usr/local/etc/mail/spamassassin/local.cf for a site-wide effect or into > per-user ~/.spamassassin/user_prefs config files. Thank you. Your suggestion appears to be working. I was getting 75 or more = of=20 non-english spam daily and It was becoming a real pain in the backside to=20 deal with. Now spamassassin is tagging those with a higher score and procma= il=20 is sending them to /dev/null. Looking at the log, all my "normal" mail (lik= e=20 this list) are getting through. Hopefully spam will now be down to a=20 tolerable level. Beech=20 =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1968912.2yim0LycQF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFMOBkR5sEeCt9j00RAimXAJ0QzmOYT+jiUyhlqQ5gsdNbg5/tLwCdGpOA IdadcEx2pN/X+jRTp2kSxAE= =a1yT -----END PGP SIGNATURE----- --nextPart1968912.2yim0LycQF--