https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7252

            Bug ID: 7252
           Summary: charset=utf-16 tricks out SA
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 5331
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5331&action=edit
sample message not hit body-rules

Content-Type: text/plain; charset=utf-16
Content-Transfer-Encoding: base64

no custom body rules hit like they do for ISO/UTF8

see attached sample and rule below as well as the mailing-list thread
https://www.mail-archive.com/[email protected]/msg93804.html which
indicates that way one can also bypass bayes

body      CUST_BODY_17    /.*(1st page ranking of google|dear potencial
partner).*/i
score     CUST_BODY_17    1.0
describe  CUST_BODY_17    Contains Low
____________________________

bayes_path /var/lib/spamass-milter/.spamassassin/bayes
bayes_file_mode 0600
use_learner 1
use_bayes 1
use_bayes_rules 1
bayes_use_hapaxes 1
bayes_expiry_max_db_size 50000000
bayes_auto_expire 0
bayes_auto_learn 0
bayes_learn_during_report 0
bayes_learn_to_journal 1
bayes_token_sources all
normalize_charset 1

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

Reply via email to