[Dovecot] Dovecot and MS Active Directory.

Chris Wakelin c.d.wakelin at reading.ac.uk
Mon Jul 10 11:47:09 EEST 2006


Sysadmin wrote:
> Hello.
> 
> We are using dovecot right now, but the boss pushes the MS based system
> (Exchange, Sharepoint, Active Directory etc) to use. However, skipping
> the other parts I'd like to keep open source based mail server and  the
> question is -  can the dovecot authenticate against the MS Active
> Directory without any problems?
> 
> 

We do this ourselves using PAM (passdb=pam), pam_ldap and a passwd-file
for the userdb (generated from NIS and really only used to map usernames
to UNIX uids - you could, of course, use "static" instead).

Since we went down this route, Dovecot's own LDAP support has improved,
and it may be possible to miss the PAM/pam_ldap stage (which has the
disadvantage of opening a new LDAP connection to the Active Directory
for each authentication).

It's worth searching the list archives for example configurations for
this (I'm pretty sure I sent ours sometime in the autumn).

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list