aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/group_aliases.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates/group_aliases.conf')
-rw-r--r--modules/postfix/templates/group_aliases.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/postfix/templates/group_aliases.conf b/modules/postfix/templates/group_aliases.conf
index eac16dab..a230a070 100644
--- a/modules/postfix/templates/group_aliases.conf
+++ b/modules/postfix/templates/group_aliases.conf
@@ -1,15 +1,15 @@
<%-
ldap = ldap_servers.map { |l| "ldaps://#{l}:636" }
-%>
-server_host = <%= ldap.join(' ') %>
-search_base = <%= dc_suffix %>
+server_host = <%= @ldap.join(' ') %>
+search_base = <%= @dc_suffix %>
query_filter = (&(cn=mga-%u)(objectClass=groupOfNames))
result_attribute = mail
special_result_attribute = member
bind = yes
-bind_dn = cn=postfix-<%= hostname %>,ou=System Accounts,<%= dc_suffix %>
-bind_pw = <%= ldap_password %>
+bind_dn = cn=postfix-<%= @hostname %>,ou=System Accounts,<%= @dc_suffix %>
+bind_pw = <%= @ldap_password %>
# postfix complain on url
# warning: dict_ldap_open: URL scheme ldaps requires protocol version 3
version = 3
-domain = group.<%= domain %>
+domain = group.<%= @domain %>