Changeset View
Changeset View
Standalone View
Standalone View
templates/virtual_alias_maps.cf.j2
- This file was added.
server_host = {{ ldap.ldap_uri }} | |||||
version = 3 | |||||
search_base = {{ ldap.base_dn }} | |||||
scope = sub | |||||
domain = ldap:/etc/postfix/ldap/mydestination.cf | |||||
bind_dn = {{ ldap.service_bind_dn }} | |||||
bind_pw = {{ ldap.service_bind_pw }} | |||||
query_filter = | |||||
(& | |||||
(| | |||||
{% for item in ldap.mail_attributes.split(',') -%} | |||||
({{ item | trim }}=%s) | |||||
{%- endfor %} | |||||
) | |||||
(objectclass=kolabinetorgperson) | |||||
) | |||||
result_attribute = mail |