[Dovecot] LDAP Authentication - Home Directory Creation

Sven Hartge sven at svenhartge.de
Fri Dec 2 00:41:43 EET 2011


Stephen Bowman <sbbowman at gmail.com> 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/).  

chmod /home to 1777 and let dovecot create the directory. Or switch to a
virtual setup, where the users don't get real users on the imap server
(they can't log in, so they don't need any real user on that server) and
every mail is owned by your virtual mail user.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



More information about the dovecot mailing list