Skip to content
Snippets Groups Projects
Commit d7036efd authored by Lars Beckers's avatar Lars Beckers
Browse files

postfix: fix transport maps and smtpd tls level

parent 4131e54b
No related branches found
No related tags found
1 merge request!13Additional Services and Configurablity for Postfix
......@@ -127,7 +127,7 @@
dest: /etc/postfix/transport
notify:
- postmap transport
when: postfix_transport_maps|bool
when: postfix_transport_maps|count > 0
tags:
- postfix
- mail
......@@ -7,7 +7,7 @@ myorigin = /etc/mailname
mydestination = $myhostname localhost {{ postfix_domains | join(" ") }}
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 {{ postfix_my_networks|join(" ") }}
relayhost = {{ postfix_relay_host }}
{% if postfix_transport_maps|bool %}
{% if postfix_transport_maps|count > 0 %}
transport_maps = cdb:/etc/postfix/transport
{% endif %}
......@@ -59,7 +59,6 @@ recipient_canonical_maps = tcp:127.0.0.1:10002
recipient_canonical_classes= envelope_recipient,header_recipient
{% endif %}
smtpd_use_tls = yes
smtp_tls_security_level = may
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
smtpd_tls_security_level = may
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment