On Thu, Mar 07, 2024 at 00:22:31 +0100, Steffen Nurpmeso via Postfix-users 
wrote:
> Thanks to the README i got it going with
> 
>   masquerade_domains = $mydomain
>   local_header_rewrite_clients = permit_mynetworks,permit_tls_clientcerts
> 
> However, i first tried to add these via -o to the above submission entry
> in master.cf, and that did not work out, if i recall correctly (it was
> late last night).  It worked immediately after placing these directives
> in main.cf.  So i wondered -- what i was doing wrong?


Because the masquerading is done by the cleanup(8) daemon, so a master.cf
override specific to your submission smtpd(8) daemon has no effect.

local_header_rewrite_clients is the right way to do it.

See https://www.postfix.org/ADDRESS_REWRITING_README.html for an overview.


        Geert


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

Reply via email to