This commit is contained in:
10
postfix/templates/ldap_senders.cf.tmpl
Normal file
10
postfix/templates/ldap_senders.cf.tmpl
Normal file
@@ -0,0 +1,10 @@
|
||||
start_tls = no
|
||||
server_host = ${LDAP_SCHEME}://${LDAP_HOST}:${LDAP_PORT}
|
||||
version = 3
|
||||
bind = yes
|
||||
bind_dn = cn=bind,dc=balsillie,dc=net
|
||||
bind_pw = ${LDAP_BIND_PW}
|
||||
search_base = ou=users,dc=balsillie,dc=net
|
||||
scope = sub
|
||||
query_filter = (&(objectClass=mailAccount)(mailEnabled=TRUE)(|(mailAlias=%s)(mail=%s)))
|
||||
result_attribute = mail,uid
|
||||
Reference in New Issue
Block a user