authenticate LDAP to email server

robert k Wild robertkwild at
Thu Jun 25 20:36:54 UTC 2015

hi all,

first things first my version and config -

# 2.0.9: /etc/dovecot/dovecot.conf

# OS: Linux 2.6.32-504.el6.x86_64 x86_64 CentOS release 6.6 (Final)

auth_mechanisms = plain login

mail_location = maildir:~/Maildir

mbox_write_locks = fcntl

passdb {

  driver = pam


protocols = imap pop3

service auth {

  unix_listener /var/spool/postfix/private/auth {

    group = postfix

    mode = 0666

    user = postfix



ssl_cert = </etc/pki/dovecot/certs/dovecot.pem

ssl_key = </etc/pki/dovecot/private/dovecot.pem

userdb {

  driver = passwd



i have installed dovecot+postfix email server and a

LDAP server, if i create users on the LDAP server can dovecot pick up

the usernames and create a mailbox for the individual users

as atm

if i want to create an email address for users i add the user to the

email server and make a directory for the users mailbox and have to

chmod and chown

also just another question, can i set up mail groups on dovecot?




Robert K Wild.

More information about the dovecot mailing list