You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2018/06/14 13:57:00 UTC

[jira] [Updated] (JAMES-2429) Implement a DLP Matcher which checks if some part of the email matches some regexp

     [ https://issues.apache.org/jira/browse/JAMES-2429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthieu Baechler updated JAMES-2429:
-------------------------------------
    Description: 
Each rule as the following fieldsĀ :
 * id
 * explanation (free text)
 * regexp
 * targets (possible values : "senders", "recipients", "content")
 ** if one of these elements is present it will match:
 *** for "senders": Sender envelop field, From header
 *** for "recipients": Recipients envelop field, To header, Cc header, Bcc header
 *** for "content": Subject header, body of the email

For each sender, the mailet will look at its domain, load the rules for the domain and one of the regexp matches the configured target, the mailet will return the recipients of the email.

The mailet will also be responsible for storing an attribute which is a map from a matching sender to the rule that matched.

  was:
Each rule as the following fields :(
 * id
 * explanation (free text)
 * regexp
 * targets (possible values : "senders", "recipients", "content")
 ** if one of these elements is present it will match:
 *** for "senders": Sender envelop field, From header
 *** for "recipients": Recipients envelop field, To header, Cc header, Bcc header
 *** for "content": Subject header, body of the email

For each sender, the mailet will look at its domain, load the rules for the domain and one of the regexp matches the configured target, the mailet will return the recipients of the email.

The mailet will also be responsible for storing an attribute which is a map from a matching sender to the rule that matched.


> Implement a DLP Matcher which checks if some part of the email matches some regexp
> ----------------------------------------------------------------------------------
>
>                 Key: JAMES-2429
>                 URL: https://issues.apache.org/jira/browse/JAMES-2429
>             Project: James Server
>          Issue Type: Task
>            Reporter: Matthieu Baechler
>            Priority: Major
>
> Each rule as the following fieldsĀ :
>  * id
>  * explanation (free text)
>  * regexp
>  * targets (possible values : "senders", "recipients", "content")
>  ** if one of these elements is present it will match:
>  *** for "senders": Sender envelop field, From header
>  *** for "recipients": Recipients envelop field, To header, Cc header, Bcc header
>  *** for "content": Subject header, body of the email
> For each sender, the mailet will look at its domain, load the rules for the domain and one of the regexp matches the configured target, the mailet will return the recipients of the email.
> The mailet will also be responsible for storing an attribute which is a map from a matching sender to the rule that matched.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org