[ 
https://issues.apache.org/jira/browse/JAMES-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092241#comment-18092241
 ] 

Felix commented on JAMES-4213:
------------------------------

Sounds good. It's nothing we strictly need, I just noticed it when refactoring 
something else and found it strange.

> ValidRcptHandler does not properly check aliases
> ------------------------------------------------
>
>                 Key: JAMES-4213
>                 URL: https://issues.apache.org/jira/browse/JAMES-4213
>             Project: James Server
>          Issue Type: Bug
>          Components: SMTPServer
>            Reporter: Felix
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, it is only checked if the recipient is a user or if there is a 
> mapping with the recipient as source. It is not checked that this mapping 
> actually points to a local mailbox.
> We do not want to accept emails that go directly to an error repository, so 
> this should be caught after the SMTP RCPT command.
> I would be in favor to enforce that all targets it resolves to are valid but 
> that may break some poorly maintained groups, I guess.
> The alternative is to to accept a recipient if it resolves to at least one 
> mailbox that is present. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to