diff options
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r-- | modules/postfix/templates/main.cf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index e9464a39..21ea6ca4 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -86,6 +86,7 @@ virtual_alias_maps = regexp:/etc/postfix/sympa_aliases <%- end -%> <%- end -%> +<%- if all_tags.include?('postfix::server::primary') -%> # Adding DKIM Miler for primaryserver (sucuk) smtpd_milters = inet:127.0.0.1:8891 non_smtpd_milters = $smtpd_milters @@ -97,6 +98,7 @@ sender_canonical_maps = socketmap:inet:localhost:10003:forward sender_canonical_classes = envelope_sender recipient_canonical_maps = socketmap:inet:localhost:10003:reverse recipient_canonical_classes= envelope_recipient,header_recipient +<%- end -%> <%- if all_tags.include?('postfix::server') -%> transport_maps = regexp:/etc/postfix/transport_regexp |