From 98fa66b5ad13c8f203fcfe40d42240417951f218 Mon Sep 17 00:00:00 2001 From: Georg Date: Mon, 13 Sep 2021 09:40:35 +0200 Subject: Init MC update + Dovecot/SOGo LDAP configuration Signed-off-by: Georg --- mailcow/data/conf/dovecot/extra.conf | 5 +++++ mailcow/data/conf/dovecot/ldap/passdb.conf | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 mailcow/data/conf/dovecot/extra.conf create mode 100644 mailcow/data/conf/dovecot/ldap/passdb.conf (limited to 'mailcow/data/conf/dovecot') 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))) + -- cgit v1.2.3