From 7d1622f3e5db18b40cab6cecfd3c2f1fab20d782 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 2 Dec 2013 20:18:28 +0100 Subject: Configure the IMAP server. (For now, only LMTP and IMAP processes, without replication.) --- .../files/etc/dovecot/conf.d/auth-ldap.conf.ext | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext (limited to 'roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext') diff --git a/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext b/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext new file mode 100644 index 0000000..542353b --- /dev/null +++ b/roles/IMAP/files/etc/dovecot/conf.d/auth-ldap.conf.ext @@ -0,0 +1,37 @@ +# Authentication for LDAP users. Included from auth.conf. +# +# + +passdb { + driver = ldap + + # Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext + args = /etc/dovecot/dovecot-ldap.conf.ext +} + +# "prefetch" user database means that the passdb already provided the +# needed information and there's no need to do a separate userdb lookup. +# +#userdb { +# driver = prefetch +#} + +#userdb { +# driver = ldap +# # This should be a different file from the passdb's, in order to perform +# # asynchronous requests. +# args = /etc/dovecot/dovecot-ldap-userdb.conf.ext +# +# # Default fields can be used to specify defaults that LDAP may override +# #default_fields = home=/home/virtual/%u +#} + +# If you don't have any user-specific settings, you can avoid the userdb LDAP +# lookup by using userdb static instead of userdb ldap, for example: +# +userdb { + driver = static + # The MTA has already verified the existence of users when doing alias resolution, + # so we can skip the passdb lookup here. + args = home=/home/mail/mailboxes/%d/%n allow_all_users=yes +} -- cgit v1.2.3