On Mon, May 17, 2021 at 11:02:35PM -0400, [email protected] wrote:
> If I send mail to submission:587 addressed to another user on the same
> server, postfix instead of sending the mail to the mx records for that
> domain, and connecting to postfix on smtp:25 it bypasses all of that and
> delivers directly into that users inbox. This avoids all of my
> filtering, smtpd_helo_restrictions, smtpd_recipient_restrictions, ban
> list, etc.
If you really MUST avoid direct delivery, you'll need a multi-instance
Postfix deployment:
http://www.postfix.org/MULTI_INSTANCE_README.html
It is not clear why direct delivery from authorised submission users is
not OK, but that's your concern I guess.
--
Viktor.