Fixes #781. Add missing header for authenticated users if the option is enabled.
This commit is contained in:
parent
8c202b36bb
commit
1ef2260caa
|
@ -645,6 +645,16 @@ smtpd_upstream_proxy_protocol = haproxy
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if postfix_add_missing_headers %}
|
||||||
|
local_header_rewrite_clients =
|
||||||
|
permit_inet_interfaces
|
||||||
|
{% if postfix_submission_server %}
|
||||||
|
permit_sasl_authenticated
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
always_add_missing_headers = yes
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# FAST ETRN SERVICE
|
# FAST ETRN SERVICE
|
||||||
#
|
#
|
||||||
# Postfix maintains per-destination logfiles with information about
|
# Postfix maintains per-destination logfiles with information about
|
||||||
|
|
Loading…
Reference in New Issue