[Dovecot] lda_mailbox_autocreate and lda_mailbox_autosubscribe

Frank Bonnet f.bonnet at esiee.fr
Thu Mar 24 18:17:00 EET 2011


I use real unix users on the mailhub and I would like to
automate home directories creation for new users.

I found lda_mailbox_autocreate and lda_mailbox_autosubscribe
statements in 15-lda.conf file ( dovecot 2.0.11 ) which seem to be the right
things for me :-)

I use Postfix 2.8.1  with Dovecot LDA
mailbox_command = /usr/local/libexec/dovecot/dovecot-lda

All Mailboxes are located in /user/$USER/mail/

Does those two statements means that if a home directory
does not exists it will be created at the first login of the
new user ?

I mean if new user "toto" has no homedir at all , dovecot will
create /user/toto/mail at the very first successful connection ?

 Thanks a lot

More information about the dovecot mailing list