Title: RE: How to avoid spamassassin checks in Subject header?


> -----Original Message-----
> From: Leon Kolchinsky [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 26, 2006 9:09 AM
> To: users@spamassassin.apache.org
> Subject: How to avoid spamassassin checks in Subject header?
>
>
>
> Hello All,
>
> I've a mail system running
> Cyrus+Postfix+Amavisd-new+ClamAV+Spamassassin on SuSE Linux
> Ent. Server 9.
>
> The problem is that non-encoded 8bit data is not allowed in
> message headers and Cyrus-IMAPd prevents from any problem by
> replacing those chars with X (mail program should do encoding
> according to RFC 2047 on all headers. Unencoded 8-bit
> characters aren't allowed in headers).
>
> In SuSE's distribution there is no munge8bit option for Cyrus
> (which would leave the problematic subject as is but damage
> the search function) so all Subjects in Hebrew/Russian/Etc.
> sent form Hotmail,Yahoo,... clients arriving to users
> mailboxes changed to XXX.
>
> I have BAYES and RAZOR filters installed.
>
> Here are some headers from one of such mails:
> Subject: FW: XXX XXXXX XXXXXXX XXXXX
> X-Spam-Status: Yes, hits=6.8 tag1=-999.0 tag2=5.0 kill=5.0
>  tests=FROM_ENDS_IN_NUMS, HTML_MESSAGE, MIME_BOUND_NEXTPART,
>  MIME_HTML_NO_CHARSET, MSGID_FROM_MTA_HEADER, SUBJ_ILLEGAL_CHARS
> X-Spam-Level: ******
>
> So it seems to me that this high score is due to XXX (or
> unencoded subjects) in the Subject header.
>
> Is there any way to tell Spamassassin to not check in
> 'Subject' header?

Since this is also scaned by body rules... No.

However you could just rescore the rule

score SUBJ_ILLEGAL_CHARS 0.10

HTH,

Chris Santerre
SysAdmin and Spamfighter
www.rulesemporium.com
www.uribl.com


Reply via email to