DLP regex

Hi Martijn, hi list.

first of all: thanks for this great gateway :slight_smile:
I wonder how to deal with the regex-engine within the DLP.

What I'm trying to achieve is, that mails to a specific domain will be
blocked when a special word (classification: *whatever*) is missing.

I tried this as pattern; but it turns out that this isn't working:

\b(?!classification\b).*?\b

could someone give me little hind?

thanks in advanced + best gegards,
René

Hi René

first of all: thanks for this great gateway :slight_smile:
I wonder how to deal with the regex-engine within the DLP.

What I'm trying to achieve is, that mails to a specific domain will be
blocked when a special word (classification: *whatever*) is missing.

I tried this as pattern; but it turns out that this isn't working:

\b(?!classification\b).*?\b

could someone give me little hind?

The DLP patterns are a sender only property. That means that only the
DLP patterns configured for the sender are taking into account. The main
reason this was designed to be a sender only setting is that it's
unclear how to handle recipient specific DLP rules if there are multiple
recipients of a message. You can configure the DLP rule for the sender.
However that means that if the message is sent to some other domain by
that sender that the DLP fires as well. If you do not want that you can
disable DLP checking by default for all domains and only enable it for
the sender and recipient domain you want the rule for. You might get
more flexibility by editing the xml mail flow file though.

Kind regards,

Martijn Brinkers

···

On 11-04-18 18:51, René Sasse via Users wrote:

--
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

Twitter: http://twitter.com/CipherMail