Re: [Dovecot] not creating homedirs when using maildir format
"Ben Halicki"
Hi all,
I'm in the process of setting up dovecot, but for some reason, it's not creating home directories if they don't already exist.
I have the following line in dovecot.conf:
default_mail_env = maildir:~/mail:INBOX=/var/mail/%u
I have set permissions on /home to allow everyone full access, so creating directories in /home by dovecot non-root processes shouldn't be a problem. If I instruct dovecot to use mbox format, directories are created without a problem. The problem only seems to exist with maildir.
Any help would be greatly appreciated!
Never done this, ISTR there is a PAM module that is supposed to do this (create the directory). It would require you to use PAM, obviously.
-- Matthias Andree Thanks for the reply Matthias. Only problem with PAM and pam_mkhomedir, is that Dovecot doesn't seem to open a session, so pam isn't called and pam_mkhomedir doesn't get the chanceto create a home directory. I can't understand why this works with mbox, but not withmaildir!Thanks again,Ben HalickiInformation Technology OfficerMacquarie Textiles Group LimitedPhone: +61 2 6043 0235Fax: +61 2 6041 1321
participants (1)
-
Ben Halicki