https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6945

--- Comment #6 from Mark Martinec <[email protected]> ---
> I think I found the culprit, but not the solution.
> To reproduce the bug on clean Debian 6.0 installation, please, enable option
>   normalize_charset 1

Ah, yes, that explains. A bug indeed, also still in trunk.

Please try the attached patch. It is a diff against trunk, but should
also apply to 3.3.1 with some offset.

It does three things:

- makes sure some header fields (like Message-ID, Received, ...) are
  never attempted to be MIME-decoded - these header fields are just
  strings of bytes, no character set can be associated with them;

- of the remaining header fields only those with explicit encodings
  are decoded;

- fix a taint bug in BayesStore.pm dbg() call

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to