[
https://issues.apache.org/jira/browse/JAMES-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-2148.
---------------------------------
Fix Version/s: 3.9.0
Resolution: Fixed
> 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: Benoit Tellier
> Priority: Major
> Labels: feature, newbie
> Fix For: 3.9.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Nowadays, the *Rewrite Table* engine supports domain redirections. That is to
> say [email protected] will be rewritten as [email protected].
> 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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]