On Mon, 2008-10-27 at 12:30 -0400, Albert E. Whale wrote:
Timo Sirainen wrote:
On Oct 27, 2008, at 2:15 PM, Albert E. Whale wrote:
Is there an automatic solution to this?
Oct 27 08:00:48 192.168.50.5 dovecot: POP3(evelina2): mail_location: mbox: mkdir(/home/popuser_evelina2/mail) failed: Permission denied
You mean /home/popuser_evelina2 doesn't exist and Dovecot doesn't have write permissions to /home? Choices would be:
a) Create the directory automatically whenever you add new users b) Give Dovecot write permissions to /home c) If you're using PAM, use pam_mkhomedir
Actually the /home/popuser_evelina2 directory exists. I had thought that we were making the directory. It's just the mail subdirectory that is missing.
Then I guess your userdb isn't returning correct UID for the user. You're using system users?