Benoit Tellier created JAMES-4021:
-------------------------------------

             Summary: Cannot send emails to "abc@def"@other.com
                 Key: JAMES-4021
                 URL: https://issues.apache.org/jira/browse/JAMES-4021
             Project: James Server
          Issue Type: Bug
          Components: Mailet Contributions, SMTPServer
    Affects Versions: 3.8.0
            Reporter: Benoit Tellier
             Fix For: 3.9.0


James users cannot send email to an otherwise synctactically valid email 
address:

"abc@def"@domain.com

{code:java}
Exception calling RecipientRewriteTable: username local part can not contain 
domain delimiter, got "j.palazzolo@avocats"
java.lang.IllegalArgumentException: username local part can not contain domain 
delimiter, got "j.palazzolo@avocats"
        at 
com.google.common.base.Preconditions.checkArgument(Preconditions.java:218)
        at org.apache.james.core.Username.<init>(Username.java:82)
        at 
org.apache.james.core.Username.fromLocalPartWithDomain(Username.java:58)
        at 
org.apache.james.rrt.lib.AbstractRecipientRewriteTable.getResolvedMappings(AbstractRecipientRewriteTable.java:111)
        at 
org.apache.james.transport.mailets.RecipientRewriteTableProcessor.executeRrtForRecipient(RecipientRewriteTableProcessor.java:391)
        at 
org.apache.james.transport.mailets.RecipientRewriteTableProcessor.lambda$executeRrtFor$10(RecipientRewriteTableProcessor.java:380)
{code}

(amongst other)

We should make sure we are able to accept and relay mails of our users to those 
addresses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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