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

            Bug ID: 8423
           Summary: Mail::SpamAssassin::Plugin::TextCat check_languages
                    improvements
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Future

Created attachment 6090
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6090&action=edit
add textcat_assume_ok_on_ambiguity option

In Mail::SpamAssassin::Plugin::TextCat, if check_languages is not sure about 2
possible languages, UNWANTED_LANGUAGE rule won't trigger.
Add an additional option to change this behavior, if the possible candidates do
not include a language listed in ok_languages, UNWANTED_LANGUAGES will trigger.

With current code, if we set
ok_languages en
and SpamAssassin is unsure if the email is written in ja or zh,
UNWANTED_LANGUAGES rule will not trigger.
With new option enabled it will trigger instead since even if the detection is
not definitive, the email won't be in english in any case.

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

Reply via email to