On Thu, Oct 13, 2022 at 01:07:43AM +1300, Nick Tait wrote:
> And so I ended up removing the option from
> main.cf and including "-o local_header_rewrite_clients=static:all" in
> master.cf instead:
>
> submission inet n - y - - smtpd
> -o syslog_name=postfix/submission
> -o smtpd_tls_security_level=encrypt
> -o smtpd_sasl_auth_enable=yes
> -o smtpd_tls_auth_only=yes
> -o smtpd_reject_unlisted_recipient=no
> -o smtpd_delay_reject=no
> -o smtpd_client_restrictions=$mua_client_restrictions
> -o smtpd_helo_restrictions=$mua_helo_restrictions
> -o smtpd_sender_restrictions=$mua_sender_restrictions
> -o smtpd_recipient_restrictions=
> -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
> -o milter_macro_daemon_name=ORIGINATING
> *-o local_header_rewrite_clients=static:all*
>
Yes, this is a good choice for *submission*.
--
Viktor.