On 7/25/2014 5:55 PM, Amir Caspi wrote:
On Jul 24, 2014, at 4:08 PM, Philip Prindeville
<philipp_s...@redfish-solutions.com> wrote:
In text/plain with CTE of ‘7bit’ or ‘8bit’ it’s meaningless to use Unicode HTML
entity encodings. It’s obviously not HTML.
If you want Unicode in text/plain, it should be in base64 or quoted-printable
CTE.
Sure, but these spams also have text/html sections with the same characters.
How do you check if the unicode entities are in the text/plain section, versus
the entire body? My understanding was that body rules run on both text/plain
and text/html -- is there a way to distinguish which section those entities are
in?
You should look at the patch on bug 7068
(https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7068)
if ($ctype eq 'text/plain' && ($cte eq '' || $cte eq '7bit' || $cte eq
'8bit')) {
regards,
KAM