aboutsummaryrefslogtreecommitdiff
path: root/app/email/config/postfix/ldap-account.cf.tpl
diff options
context:
space:
mode:
authorLUXEY Adrien <adrien.luxey@inria.fr>2021-01-19 14:33:44 +0100
committerLUXEY Adrien <adrien.luxey@inria.fr>2021-01-19 14:33:44 +0100
commit65421d947e84fc6697d2c925a5ca8c473b71c61c (patch)
tree8e35cf75340cde9949f9ff38de19c90beafd5391 /app/email/config/postfix/ldap-account.cf.tpl
parenta5a56b6f70bd5b445c3d10d0c5a99011a8bcdd1d (diff)
parenteb925049ac4aab369763fbecb0caaec3579977a3 (diff)
downloadinfrastructure-65421d947e84fc6697d2c925a5ca8c473b71c61c.tar.gz
infrastructure-65421d947e84fc6697d2c925a5ca8c473b71c61c.zip
merge from upstream
Diffstat (limited to 'app/email/config/postfix/ldap-account.cf.tpl')
-rw-r--r--app/email/config/postfix/ldap-account.cf.tpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/email/config/postfix/ldap-account.cf.tpl b/app/email/config/postfix/ldap-account.cf.tpl
new file mode 100644
index 0000000..2575f10
--- /dev/null
+++ b/app/email/config/postfix/ldap-account.cf.tpl
@@ -0,0 +1,12 @@
+bind = yes
+bind_dn = {{ key "secrets/email/postfix/ldap_binddn" | trimSpace }}
+bind_pw = {{ key "secrets/email/postfix/ldap_bindpwd" | trimSpace }}
+version = 3
+timeout = 20
+start_tls = no
+tls_require_cert = no
+server_host = ldap://bottin2.service.2.cluster.deuxfleurs.fr
+scope = sub
+search_base = ou=users,dc=deuxfleurs,dc=fr
+query_filter = mail=%s
+result_attribute = mail