LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2014, 12:35 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,702

Rep: Reputation: 187Reputation: 187
spamassassin CHARSET_FARAWAY rules not working.


I have the following rules set in spamassassin local.cf:

score CHARSET_FARAWAY 4.1
score CHARSET_FARAWAY_HEADER 4.1

But these don't appear to be working. Why? Is there a local rule I can create to inspect the Content-Type string? Possibly:

header LOCAL_CHARSET Content-Type =~ /koi8-r/

but I'd rather use the built-in rules if possible.

Below are the headers for a message I received, but no mention of the CHARSET_FARAWAY rules in the X-Spam-Report. koi8-r is Russian Cryrillic:


Content-Type: text/plain; charset="koi8-r"
Subject: =?koi8-r?B?7NXe28XFIM/OzMHKziDLwdrJzs8g19PAIM7FxMXMwCDSwdrEwcXUIA==?= =?koi8-r?B?xMXO2MfJIMkgzcXHwSDCz
87V09kh?=
From: =?koi8-r?B?Iu/OzMHKziDJx9LZIM7BIMTFztjHySEgIg==?=
<artfuljf5@acm.org>
X-Mailer: EDMAIL R6.00.02
X-Spam-Status: No, score=4.8 required=5.0 tests=HELO_MISC_IP,
RCVD_IN_BRBL_LASTEXT,RCVD_IN_XBL,RDNS_NONE,SPF_FAIL autolearn=disabled
version=3.3.2
X-Spam-Report:
* 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT
* [217.115.95.84 listed in bb.barracudacentral.org]
* 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL
* [217.115.95.84 listed in zen.spamhaus.org]
* 0.9 SPF_FAIL SPF: sender does not match SPF record (fail)
* [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;i...bci.com;ip=217.
115.95.84;r=server.novatec-inc.com]
* 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS
* 0.2 HELO_MISC_IP Looking for more Dynamic IP Relays
X-Spam-Level: ****
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
 
Old 03-19-2014, 01:19 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I'm not certain about this, but you may need to configure OK_LOCALES in local.cf.

You can read more about it here:http://wiki.apisnetworks.com/index.p...assin_Tutorial

Scroll down to Automatically Tagging International E-mails
 
  


Reply

Tags
charset, spamassassin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy Spamassassin rules sanjibgupta Linux - Security 1 11-03-2011 10:30 AM
spamassassin sa-update does not update the rules in /usr/share/spamassassin Ladowny Linux - Server 3 05-14-2010 04:10 PM
Spamassassin dynamic rules paul_mat Linux - Software 1 05-03-2006 04:28 AM
spamassassin header rules freebie Linux - Software 1 02-17-2005 09:32 PM
Adding spamassassin rules when filtering with mimedefang? justanothergeek Linux - Software 0 02-16-2005 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration