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

--- Comment #34 from Kevin A. McGrail <[email protected]> ---
For trunk:


svn commit -m 'Added code for check_for_ascii_text_illegal in MIMEEval and
added test rule to sandbox'        
Sending        lib/Mail/SpamAssassin/Plugin/MIMEEval.pm
Adding         rulesrc/sandbox/kmcgrail/20_bug_7063.cf
Transmitting file data ..
Committed revision 1607729.


NOTE: Rule added with additional plugin check to ensure MIMEEval is enabled.

ifplugin Mail::SpamAssassin::Plugin::MIMEEval
  if
can(Mail::SpamAssassin::Plugin::MIMEEval::has_check_for_ascii_text_illegal)
    body     PP_MIME_FAKE_ASCII_TEXT 
eval:check_for_ascii_text_illegal('mime_fake_ascii_text')
    describe PP_MIME_FAKE_ASCII_TEXT  MIME text/plain claims to be ASCII but
isn't
    score    PP_MIME_FAKE_ASCII_TEXT  1.0
    tflags   PP_MIME_FAKE_ASCII_TEXT  publish
  endif
endif

Next week, I'll check on RuleQA and consider adding this on our production
servers for more feedback.

But the 1.0 should be a ceiling for masscheck to determine the best score if it
is promotable.

Regards,
KAM

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

Reply via email to