felixauringer opened a new pull request, #3073:
URL: https://github.com/apache/james-project/pull/3073

   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 catched after the SMTP RCPT command.
   
   I opted to accept a recipient if it resolves to at least one mailbox that is 
present. 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.
   
   **Note:** This also prepares for 
https://github.com/linagora/tmail-backend/issues/2446 by separating the check 
whether a mailbox exists from the step that applies the RRT.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to