[Dovecot] LDAP Authentication - Home Directory Creation

Timo Sirainen tss at iki.fi
Thu Dec 1 22:48:11 EET 2011


On 1.12.2011, at 19.26, Stephen Bowman wrote:

> How does everyone handle this case?
> 
> Users are authenticated by LDAP, and do not have accounts on the IMAP/dovecot server.  When a new user is added to LDAP, the home directory (/home/newuser) needs to be created on the IMAP/dovecot server so dovecot can create the mail directories inside it (/home/newuser/mail/).  

Dovecot creates the home directory automatically if it has permissions to do it. So I guess in your case the mail user doesn't have permissions to do it and only root can create it?



More information about the dovecot mailing list