You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2024/03/18 03:55:00 UTC

[jira] [Resolved] (JAMES-4021) Cannot send emails to "abc@def"@other.com

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

René Cordier resolved JAMES-4021.
---------------------------------
    Resolution: Fixed

https://github.com/apache/james-project/pull/2124 solves this and was merged

> 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
>            Priority: Major
>             Fix For: 3.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org