Hello,

Did you mean command-line submission with /usr/sbin/sendmail?

Yes, as well as internal submission by a Postfix process when using aliasing. Sorry, I thought I was explicit (albeit the typo in "command").

This will receive and then bounce the message.

Nope. My tests (using the Debian postfix package, version 3.7.6-0+deb12u2) show that the mail is delivered to the recipient. I mean, in case the recipient actually exists, obviously.

I use mailbox_transport to deliver local mails to Dovecot and because of a mis-configuration on my side, Dovecot ended up having a different list of users than Postfix. Users (who Dovecot knew about but not Postfix) could still receive mails from /usr/sbin/sendmail as well as mails from the Internet, to other addresses, aliased to them in /etc/aliases. As expected, mails to their addresses submitted on port 25 was rejected.

I found this discrepancy surprising and am suggesting it is removed. In case others argue it is useful or that removing it will break some configurations, I am asking it is documented.

Did you mean the port 587 or 465 submission services? These will
enforce local_recipient_maps just like the port 25 MTA service.

I didn’t test that case.

Regards,

--
Étienne Miret
https://etienne.miret.io/

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to