[jira] [Created] (JAMES-4213) ValidRcptHandler does not properly check aliases
"Felix (Jira)" <[email protected]> Wed, 24 Jun 2026 16:38:00 +0000 (UTC)
| Newsgroups | gmane.comp.jakarta.james.devel |
|---|---|
| Message-ID | <[email protected]> |
Felix created JAMES-4213:
----------------------------
Summary: 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
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)