james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-2148) Create domain mappings via the CLI
Date Fri, 22 Sep 2017 04:20:00 GMT

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

Tellier Benoit updated JAMES-2148:
----------------------------------
    Description: 
Nowadays, the *Rewrite Table* engine supports domain redirections. That is to say any@domain.com
will be rewritten as any@otherDomain.com.

However, such a feature is not exposed via the CLI.

You will need to :

 - Enhance RecipientRewriteTableManagementMBean and RecipientRewriteTableManagement with a
new API and implementation for adding/listing/removing a domain mapping in the RecipientRewriteTable
interface
 - You will add the following commands in CmdType : AddDomainMapping, RemoveDomainMapping,
ListDomainMappings.
 - Add the corresponding tests in CmdTypeTest
 - Add the code for handling your commands in ServerCmd using the *probe* object.
 - Add the corresponding tests in ServerCmdTest

Don't hesitate to ask for help on the Gitter chat.

  was:
Nowadays, the *Rewrite Table* engine supports domain redirections. That is to say any@domain.com
will be rewritten as any@otherDomain.com.

However, such a feature is not exposed via the CLI.

You will need to :

 - Enhance RecipientRewriteTableManagementMBean and RecipientRewriteTableManagement with a
new API and implementation for adding/listing/removing a domain mapping in the RecipientRewriteTable
interface
 - You will add the following commands in CmdType : AddDomainMapping, RemoveDomainMapping,
ListDomainMappings.
 - Add the corresponding tests in CmdTypeTest
 - Add the code for handling your commands in ServerCmd using the *probe* object.
 - Add the corresponding tests in ServerCmdTest


> Create domain mappings via the CLI
> ----------------------------------
>
>                 Key: JAMES-2148
>                 URL: https://issues.apache.org/jira/browse/JAMES-2148
>             Project: James Server
>          Issue Type: New Feature
>          Components: CLI
>    Affects Versions: master
>            Reporter: Tellier Benoit
>              Labels: feature, newbie
>
> Nowadays, the *Rewrite Table* engine supports domain redirections. That is to say any@domain.com
will be rewritten as any@otherDomain.com.
> However, such a feature is not exposed via the CLI.
> You will need to :
>  - Enhance RecipientRewriteTableManagementMBean and RecipientRewriteTableManagement with
a new API and implementation for adding/listing/removing a domain mapping in the RecipientRewriteTable
interface
>  - You will add the following commands in CmdType : AddDomainMapping, RemoveDomainMapping,
ListDomainMappings.
>  - Add the corresponding tests in CmdTypeTest
>  - Add the code for handling your commands in ServerCmd using the *probe* object.
>  - Add the corresponding tests in ServerCmdTest
> Don't hesitate to ask for help on the Gitter chat.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message