Date: Sat, 14 Oct 2006 05:04:14 -0800 From: Beech Rintoul <freebsd@alaskaparadise.com> To: freebsd-questions@freebsd.org Subject: Re: Non English Spam Message-ID: <200610140504.37155.freebsd@alaskaparadise.com> In-Reply-To: <453054DE.1030506@infracaninophile.co.uk> References: <200610131712.46822.freebsd@alaskaparadise.com> <453054DE.1030506@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610140504.37155.freebsd>