Regular Expressions 101

Community Patterns

Mimecast - Spam Scan Regex

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^X-Mimecast-Spam-Score\: \b([7-9]|[12][0-9])\b\nX\-Mimecast\-Spam\-Signature\: yes$
/
gm

Description

This was put together so that O365 can match headers and move to Microsoft Junk-mail folder instead of using Mimecast User Hold Queue.

Submitted by anonymous - 2 years ago