diff --git a/docs/roles/debian/postfix.md b/docs/roles/debian/postfix.md index e63f3b70a..afd84b496 100644 --- a/docs/roles/debian/postfix.md +++ b/docs/roles/debian/postfix.md @@ -22,7 +22,7 @@ postfix: networks: "[::1]/128 [::ffff:127.0.0.0]/104 127.0.0.0/8" protocols: all relayhost: "" - transport_maps: + transport_maps: # see Postfix manual examples - https://www.postfix.org/transport.5.html - "* discard :" use_dkim: false # AWS SES config - to authenticate with an IAM user see https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html diff --git a/roles/debian/postfix/README.md b/roles/debian/postfix/README.md index e63f3b70a..afd84b496 100644 --- a/roles/debian/postfix/README.md +++ b/roles/debian/postfix/README.md @@ -22,7 +22,7 @@ postfix: networks: "[::1]/128 [::ffff:127.0.0.0]/104 127.0.0.0/8" protocols: all relayhost: "" - transport_maps: + transport_maps: # see Postfix manual examples - https://www.postfix.org/transport.5.html - "* discard :" use_dkim: false # AWS SES config - to authenticate with an IAM user see https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html diff --git a/roles/debian/postfix/defaults/main.yml b/roles/debian/postfix/defaults/main.yml index 10e373b83..fb00787d3 100644 --- a/roles/debian/postfix/defaults/main.yml +++ b/roles/debian/postfix/defaults/main.yml @@ -11,7 +11,7 @@ postfix: networks: "[::1]/128 [::ffff:127.0.0.0]/104 127.0.0.0/8" protocols: all relayhost: "" - transport_maps: + transport_maps: # see Postfix manual examples - https://www.postfix.org/transport.5.html - "* discard :" use_dkim: false # AWS SES config - to authenticate with an IAM user see https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html diff --git a/roles/debian/postfix/templates/transport.j2 b/roles/debian/postfix/templates/transport.j2 index 46cfabbdf..eb6e69b27 100644 --- a/roles/debian/postfix/templates/transport.j2 +++ b/roles/debian/postfix/templates/transport.j2 @@ -1,6 +1,6 @@ {{ ansible_hostname }} : {% for transport in postfix.transport_maps %} {% if transport|length %} -{{ transport }} : +{{ transport }} {% endif %} -{% endfor %} \ No newline at end of file +{% endfor %}