aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/group_aliases.conf
blob: ce7749526b58ea835c342064f340f3e5bee22fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<%-
  ldap_servers.map! { |l| "ldaps://#{l}:636" }
-%>
server_host = <%= ldap_servers.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 %>