aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/main.cf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates/main.cf')
-rw-r--r--modules/postfix/templates/main.cf3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 41790325..e6f53bbf 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -52,8 +52,9 @@ alias_maps = hash:/etc/aliases
#ldap:/etc/postfix/ldap_aliases.conf
<%- end -%>
-transport_maps = regexp:/etc/postfix/transport_regexp
+<%- if all_tags.include?('postfix::smtp_server') -%>
+transport_maps = regexp:/etc/postfix/transport_regexp
<%- end -%>
<%- if classes.include?('sympa') -%>