Am 08.07.2022 um 21:35 schrieb Viktor Dukhovni:
On Fri, Jul 08, 2022 at 09:08:28PM +0200, Postfix-jtroendle wrote:

submission/inet/rewrite_service_name = submission-rewrite
Your mistake is believing that the trivial rewrite service setting in
smtpd(8) can determine message routing.  This is not the case.  This
only determines the address class for access control.

Actual routing decisions are made by qmgr(8) when it contacts the
default rewrite service.  Whatever you're trying to do with
"rewrite_service_name" is too clever, and either can be done more
simply within a single Postfix instance, or requires a separate
Postfix instance for submission, in which there's a dedicated
qmgr(8) that uses the custom transport table.

Thank you very much for your explanation, Viktor. I followed your second recommendation and set up a multi instance setup that works perfectly now.


JulĀ  8 19:02:04 localhost postfix/submission/smtpd[106104]: warning:
dict_nis_init: NIS domain name not set - NIS lookups disabled
You should change local_recipient_maps or whatever default setting
that is trying to do "nis".

It was alias_maps with its default value. Fixed.


Josef

Reply via email to