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

            Bug ID: 7463
           Summary: FP on MISSING_MIMEOLE with Office 2016
           Product: Spamassassin
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Thomas A. McLeary wrote in bug 6346 comment 4:

Can this be reopened? Office 2016 is out so this rule is broken again.

To future proof this rule (assuming MS stays with the same X-Mailer format) how
about changing the rule that looks for the X-Mailer header. It looks like 2003
and earlier had the build number, e.g.:

X-Mailer: Microsoft Office Outlook, Build 11.0.5510

Whereas 2007 and later is just the main version, e.g.:

X-Mailer: Microsoft Outlook 14.0

So maybe something like this:

20_head_tests.cf:
header   __HAS_OFFICE12PLUS_IN_MAILER   X-Mailer =~ /^Microsoft (?:Office
)?Outlook 1[2-9]\.0/
meta     MISSING_MIMEOLE        (__HAS_MSMAIL_PRI && !__HAS_MIMEOLE &&
!__HAS_SQUIRRELMAIL_IN_MAILER && !__HAS_OFFICE12PLUS_IN_MAILER)

That would at least cover the next 3 versions through Office 19.

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

Reply via email to