james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2516) Create a SenderDomainId && RecipeintDomainIs matchers
Date Tue, 23 Oct 2018 10:16:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660388#comment-16660388

ASF GitHub Bot commented on JAMES-2516:

GitHub user athulyaraj opened a pull request:


    JAMES-2516:Created a SenderDomainId && RecipeintDomainIs matchers


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/athulyaraj/james-project JAMES-2516

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #139
commit c682c9de959c77782a9daf87679cb2fff0667ec2
Author: Athulya Raj <athulya_raj@...>
Date:   2018-10-23T10:14:17Z

    JAMES-2516:Created a SenderDomainId && RecipeintDomainIs matchers


> 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):
>  - *SenderDomainIs* 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

This message was sent by Atlassian JIRA

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

View raw message