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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/08/03 04:46:00 UTC
[jira] [Updated] (JAMES-2516) Create a SenderDomainId &&
RecipeintDomainIs matchers
[ https://issues.apache.org/jira/browse/JAMES-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit updated JAMES-2516:
----------------------------------
Description:
Nowadays users needs tricks with RecipientIsRegex & SenderIsRegex for handling users of specific domains in a customized way in mailet processing. We need to provide utilities for avoiding such a hack.
In `mailet/standard` create two matchers (and their unit tests):
- *SenderDomainId* will look at the envelope sender's domain. If equal to configured value, then all recipients will be returned. Overwise an empty list will be returned.
- *RecipientDomainIs* will return recipients mathcing a configured domain.
Please note that a valid domain needs to be configured, according to James core Domain model.
was:
Nowadays users needs tricks with RecipientIsRegex & SenderIsRegex for handling users of specific domains in a customized way in mailet processing. We need to provide utilities for avoiding such a hack.
In `mailet/standard` create two matchers (and their unit tests):
- *SenderDomainId* will look at the envelope sender's domain. If equal to configured value, then all recipients will be returned. Overwise an empty list will be returned.
- *RecipientDomainIs* will return recipients mathcing a configured domain.
Please not that a valid domain needs to be configured, according to James core Domain model.
> Create a SenderDomainId && RecipeintDomainIs matchers
> -----------------------------------------------------
>
> Key: JAMES-2516
> URL: https://issues.apache.org/jira/browse/JAMES-2516
> Project: James Server
> Issue Type: New Feature
> Components: Mailet Contributions
> Reporter: Tellier Benoit
> Priority: Major
> Labels: feature, newbie
>
> Nowadays users needs tricks with RecipientIsRegex & SenderIsRegex for handling users of specific domains in a customized way in mailet processing. We need to provide utilities for avoiding such a hack.
> In `mailet/standard` create two matchers (and their unit tests):
> - *SenderDomainId* will look at the envelope sender's domain. If equal to configured value, then all recipients will be returned. Overwise an empty list will be returned.
> - *RecipientDomainIs* will return recipients mathcing a configured domain.
> Please note that a valid domain needs to be configured, according to James core Domain model.
--
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