[Dovecot] mail_location: mbox: mkdir failed

Albert E. Whale aewhale at ABS-CompTech.com
Wed Oct 29 17:23:05 EET 2008


Timo Sirainen wrote:
> 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?
>
>   
Yes, the system users (/etc/passwd) files.  Here's that dovecot.conf
file.  I would have hoped that it would have been able to create the
mail folder, if it was not there.

-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant
------------------------------------------------------------------------
ABS Computer Technology, Inc. <http://www.ABS-CompTech.com> - Email,
Internet and Security Consultants
SPAMZapper <http://www.Spam-Zapper.com> - No-JunkMail.com
<http://www.No-JunkMail.com> - *True Spam Elimination*.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dovecot.conf-102708.txt
Url: http://dovecot.org/pipermail/dovecot/attachments/20081029/6c4f5333/attachment.txt 


More information about the dovecot mailing list