We will create a basic LDAP configuration for Dovecot 2.4 which features new confguration syntax. The example uses asynchronous lookups for userdb and passdb queries. ## LDAP ldap_uris = ldap://ldap.example.com:389 ldap_auth_dn = cn=mail,ou=Services,dc=example,dc=com ldap_auth_dn_password = <secret_password> ldap_base = ou=Users,ou=Mail,dc=example,dc=com ldap_starttls = yes passdb ldap { passdb_use_worker = yes passdb_ldap_filter = (&(objectClass=mailUser)(mailDrop=%{user})(!(mailEnabled=FALSE))) ldap_bind = yes fields […]
LDAP
Mail Server using LDAP backend w/ Postfix and Dovecot
We will set up Postfix and Dovecot using an OpenLDAP backend with a custom LDAP schema. Our schema uses a dedicated organization unit called mail which acts as a container for all of our hosted domains and users. The virtual mail users will use their primary e-mail address to login to the server and each […]