Use server default domain when creating alias to email without "domain part"
----------------------------------------------------------------------------

                 Key: JAMES-1185
                 URL: https://issues.apache.org/jira/browse/JAMES-1185
             Project: JAMES Server
          Issue Type: Bug
          Components: UsersStore & UsersRepository
    Affects Versions: 3.0-M2
            Reporter: Eric Charles
             Fix For: 3.0-M3


AbstractVirtualUserTable has the following code:
    public void addAddressMapping(String user, String domain, String address) 
throws VirtualUserTableException{
        if (address.indexOf('@') < 0) {
            address =  address + "@localhost";
        } 

The address + "@localhost";  shoudl be ...default server domain...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
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