2022-03-08 19:42:28 +01:00
|
|
|
server_host = ldaps://%%ldap_server_address
|
|
|
|
server_port = %%ldap_port
|
2023-02-14 14:24:16 +01:00
|
|
|
tls_cert = %%tls_cert_directory/postfix_ldap_client.crt
|
|
|
|
tls_key = %%tls_key_directory/postfix_ldap_client.key
|
|
|
|
tls_ca_cert_file = %%tls_ca_directory/LDAP.crt
|
2022-03-08 19:42:28 +01:00
|
|
|
tls_require_cert = yes
|
|
|
|
version = 3
|
|
|
|
bind = yes
|
2022-06-24 19:00:16 +02:00
|
|
|
bind_dn = %%ldapclient_user
|
|
|
|
bind_pw = %%ldapclient_user_password
|
2022-08-18 10:19:43 +02:00
|
|
|
search_base = %%ldapclient_search_dn
|
2022-05-23 08:54:15 +02:00
|
|
|
query_filter = (mailLocalAddress=%s)
|
2022-03-08 19:42:28 +01:00
|
|
|
result_attribute = cn
|