projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add README
[ansible.git]
/
roles
/
postfix
/
templates
/
main.cf
diff --git
a/roles/postfix/templates/main.cf
b/roles/postfix/templates/main.cf
index dc56a856a35e77c93929942330b756d039036910..4488ec4ee4c06fa2e1d4fbaa9567f3a2e6a294f5 100644
(file)
--- a/
roles/postfix/templates/main.cf
+++ b/
roles/postfix/templates/main.cf
@@
-110,9
+110,10
@@
transport_maps = hash:/etc/postfix/transport_map
mailman_destination_recipient_limit = 1
{% endif %}
mailman_destination_recipient_limit = 1
{% endif %}
-{% if postfix.opendkim
| default(False)
%}
+{% if postfix.opendkim
is defined
%}
# DKIM & Milter
milter_default_action = accept
# DKIM & Milter
milter_default_action = accept
+# Path must match opendkim.env
smtpd_milters = unix:opendkim/sock
non_smtpd_milters = $smtpd_milters
{% endif %}
smtpd_milters = unix:opendkim/sock
non_smtpd_milters = $smtpd_milters
{% endif %}