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

Tellier Benoit updated JAMES-2374:
----------------------------------
    Description: 
Given the documentation:


{code:java}
{cli} AddAddressMapping to domain.new f...@domain.old
{code}

should redirect emails from f...@domain.old to t...@domain.new. However it 
turns out the redirection is done the other way around. This is a valid command 
line for this:

{code:java}
{cli} AddAddressMapping from domain.old t...@domain.new
{code}

We need to fix:
 - http://james.apache.org/server/manage-cli.html page
 - server/container/cli/src/main/java/org/apache/james/cli/type/CmdType.java 
CLI help message
 - We need to make parameters names more explicit along side all the calling 
chain
 - Javadoc, where existing should make such concerns not ambiguous.




  was:
Given the documentation:


{code:java}
{cli} AddAddressMapping to domain.new f...@domain.old
{code}

should redirect emails from f...@domain.old to t...@domain.new. However it 
turns out the redirection is done the other way around:





> RRT documentation is reversed
> -----------------------------
>
>                 Key: JAMES-2374
>                 URL: https://issues.apache.org/jira/browse/JAMES-2374
>             Project: James Server
>          Issue Type: Bug
>          Components: data, Documentation, RRT
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: Documentation, easy-fix
>
> Given the documentation:
> {code:java}
> {cli} AddAddressMapping to domain.new f...@domain.old
> {code}
> should redirect emails from f...@domain.old to t...@domain.new. However it 
> turns out the redirection is done the other way around. This is a valid 
> command line for this:
> {code:java}
> {cli} AddAddressMapping from domain.old t...@domain.new
> {code}
> We need to fix:
>  - http://james.apache.org/server/manage-cli.html page
>  - server/container/cli/src/main/java/org/apache/james/cli/type/CmdType.java 
> CLI help message
>  - We need to make parameters names more explicit along side all the calling 
> chain
>  - Javadoc, where existing should make such concerns not ambiguous.



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

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

Reply via email to