postfix: fix typo breaking relays

This commit is contained in:
Alexandre Aubin 2022-12-18 15:24:13 +01:00
parent 19b0835030
commit 80a060dd94

View file

@ -81,7 +81,7 @@ alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = {{ main_domain }}
mydestination = localhost
{% if relay_enabled != "True" %}
{% if relay_enabled != "1" %}
relayhost =
{% else %}
relayhost = [{{ relay_host }}]:{{ relay_port }}
@ -198,7 +198,7 @@ smtpd_client_recipient_rate_limit=150
# and after to send spam
disable_vrfy_command = yes
{% if relay_enabled == "True" %}
{% if relay_enabled == "1" %}
# Relay email through an other smtp account
# enable SASL authentication
smtp_sasl_auth_enable = yes