Skip to content

Commit

Permalink
whitespace cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Mar 3, 2025
1 parent f0d7b89 commit 493c87d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions roles/postfix/templates/postfix/main.cf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,12 @@ relayhost = {{ real_postfix_relayhost }}
{% if postfix_relaytls %}
smtp_use_tls = yes
{% endif %}

{% if postfix_redirect_all_mails_to is defined -%}
{% if postfix_redirect_all_mails_to is defined %}
recipient_canonical_maps = regexp:/etc/postfix/recipient-canonical
{% endif -%}

{% if postfix_sender_canonicals | length > 0 -%}
{% endif %}
{% if postfix_sender_canonicals | length > 0 %}
sender_canonical_maps = hash:/etc/postfix/sender-canonical
{% endif -%}
{% endif %}
smtpd_relay_restrictions = {{ real_smtpd_relay_restrictions | join(',') }}

# Disable the SMTP VRFY command. This stops some techniques used to harvest email addresses.
Expand Down

0 comments on commit 493c87d

Please sign in to comment.