> I noticed that the RecipientValidator does not allow postmaster
> addresses if there is no explicit user / alias for it.

Nice catch !

I believe we'd need to adapt ValidRcptHandler to accept those.

Do you want to give it a try ?

--

Best regards,

Benoit TELLIER

General manager of Linagora VIETNAM <https://linagora.vn>.
Product owner for Twake-Mail <https://github.com/linagora/tmail-flutter> 
product.
Chairman of the Apache James project <https://james.apache.org/>.

Mail: [email protected]
Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal)

On Oct 26, 2026 at 12:34 PM, Felix Auringer via server-dev 
<[email protected]> wrote:

> Hey,
>
> I noticed that the RecipientValidator does not allow postmaster
> addresses if there is no explicit user / alias for it.
> As emails to the postmaster address are already rejected after the RCPT
> TO command, the PostmasterAlias mailet is useless when using the
> RecipientValidator.
> As the postmaster address is mandated in RFC 5321
> (https://www.rfc-editor.org/info/rfc5321/#section-4.5.1), I would
> propose to add an exception for it in the RecipientValidator.
> If that's okay with everybody, I am happy to open a PR for this.
>
> Best regards,
> Felix
>
> --
> Gesellschaft für Interkulturelles Zusammenleben gGmbH (GIZ)
> Felix Auringer (he/him)
> Softwareentwickler
>
> Reformationsplatz 2
> 13597 Berlin
>
> Tel: -; Fax: +4930513010009
> www.giz.berlin; [email protected]
>
> Amtsgericht Charlottenburg HRB 200872 B
> Geschäftsführerin: Dr. Britta Marschke
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to