Hi, I received the following error from mail.log Aug 31 13:50:57 server1 dovecot: IMAP(mike_lee): mkdir(/home/mike_lee/Maildir/.INBOX.Sent/cur) failed: Permission denied (euid=1004 egid=1003(companyusergroup) missing +w perm: /home) What I have tried to do is changing the permission for /home by typing "sudo chmod 755 /home" and this does not work. What does it mean by missing +w perm: /home? and wonder how to get around it? This is what I have in main.cf from Postfix myhostname = server1 myorigin = /etc/mailname relayhost = mynetworks = 127.0.0.0/8, 192.168.1.0/24 inet_interfaces = all inet_protocols = ipv4 home_mailbox = Maildir/ smtpd_sasl_type = dovecot #smtpd_sasl_path = private/auth-client smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination #smtpd_sender_login_maps = ldap:/etc/postfix/ldap_senders.cf broken_sasl_auth_clients = yes #dovecot_destination_recipient_limit = 1 debug_peer_list = 127.0.0.1 debug_peer_level = 5 Any help is very much appreciated. Thank you
On Tue, 2011-08-30 at 21:09 -0700, Daminto Lie wrote:> Aug 31 13:50:57 server1 dovecot: IMAP(mike_lee): mkdir(/home/mike_lee/Maildir/.INBOX.Sent/cur) failed: Permission denied (euid=1004 egid=1003(companyusergroup) missing +w perm: /home) > > What I have tried to do is changing the permission for /home by typing "sudo chmod 755 /home" and this does not work. What does it mean by missing +w perm: /home? and wonder how to get around it?It means that Dovecot tries to deliver mails to mike_lee's Maildir, but /home/mike_lee/ directory itself doesn't exist, so Dovecot tries to create it, but it fails because the process doesn't have write permissions to /home. The best way to fix this would be to simply create the user home dirs with proper permissions before Dovecot ever tries to deliver mails to the user.