aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/group_aliases.conf
blob: eac16dab6ca9100408b26204236e12cf19d30f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%-
  ldap = ldap_servers.map { |l| "ldaps://#{l}:636" }
-%>
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 %>
# postfix complain on url 
# warning: dict_ldap_open: URL scheme ldaps requires protocol version 3
version = 3 
domain = group.<%= domain %>