summaryrefslogtreecommitdiffstats
path: root/mailcow/data/conf/dovecot
diff options
context:
space:
mode:
authorGeorg2021-09-13 09:40:35 +0200
committerGeorg2021-09-13 09:40:35 +0200
commit98fa66b5ad13c8f203fcfe40d42240417951f218 (patch)
tree4362ad67e5934e3b5782057edbad24fb8aac11dd /mailcow/data/conf/dovecot
parent01da6ddafef02de1ea17bda689229a9ff77031e8 (diff)
downloademail-98fa66b5ad13c8f203fcfe40d42240417951f218.tar.gz
email-98fa66b5ad13c8f203fcfe40d42240417951f218.tar.bz2
email-98fa66b5ad13c8f203fcfe40d42240417951f218.zip
Init MC update + Dovecot/SOGo LDAP configuration
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'mailcow/data/conf/dovecot')
-rw-r--r--mailcow/data/conf/dovecot/extra.conf5
-rw-r--r--mailcow/data/conf/dovecot/ldap/passdb.conf9
2 files changed, 14 insertions, 0 deletions
diff --git a/mailcow/data/conf/dovecot/extra.conf b/mailcow/data/conf/dovecot/extra.conf
new file mode 100644
index 0000000..2ec91d8
--- /dev/null
+++ b/mailcow/data/conf/dovecot/extra.conf
@@ -0,0 +1,5 @@
+passdb {
+ args = /etc/dovecot/ldap/passdb.conf
+ driver = ldap
+}
+
diff --git a/mailcow/data/conf/dovecot/ldap/passdb.conf b/mailcow/data/conf/dovecot/ldap/passdb.conf
new file mode 100644
index 0000000..28feedd
--- /dev/null
+++ b/mailcow/data/conf/dovecot/ldap/passdb.conf
@@ -0,0 +1,9 @@
+uris = ldaps://orpheus.syscid.com
+ldap_version = 3
+base = OU=syscid-users,DC=syscid,DC=com
+auth_bind = yes
+dn = $BINDDN
+dnpass = $BINDSEC
+pass_attrs = userPassword=password
+pass_filter = (&(memberof=cn=syscid_email_mailcow,ou=syscid-groups,dc=syscid,dc=com)(|(uid=%n)(mail=%u)))
+