Hi all, I have run successfully a postfix/dovecot installation some time ago. Now, setting up a new server, I am lost with some error messages. I would appreciate some help. +++ f42252se dovecot: pop3-login: Error: auth: connect(login) in directory / failed: Permission denied (euid=113(<getpwu id() error>) egid=65534(<getgrgid() error>) missing +x perm: /, dir owned by 5000:5000 mode=0750) +++ This is the error message I get. "directory /" is a little bit courious to me. Here my dovecot config: +++ # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-35-generic x86_64 Ubuntu 12.04.1 LTS auth_debug = yes auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes hostname = mail.av.loc mail_debug = yes mail_gid = vmail mail_location = maildir:~/Maildir mail_privileged_group = vmail mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0600 user = postfix } unix_listener auth-userdb { group = vmail mode = 0660 user = vmail } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_cipher_list ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM ssl_key = </etc/ssl/private/dovecot.pem syslog_facility = dovecot userdb { args = uid=vmail gid=vmail home=/home/vmail/%d/%n driver = static } +++ You probably see it immediatly what I fail to see. Thanks in advance -- Signatur Averlon info Mit freundlichen Gr??en / Kind Regards Karl-Heinz Fischbach Guiding Principle Tel.: +49 (8121) 7922532 Skype: khfischbach jabber: averlon at jabber.org Blog: averlon.posterous.com Signatur: Diese e-mail ist unter Umst?nden signiert. Die Signatur entspricht dem Deutschen Signaturgesetz und entsprechenden europ?ischen Regelungen. Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. -------------- next part -------------- A non-text attachment was scrubbed... Name: think_ahead.jpg Type: image/jpeg Size: 6599 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20130105/ce5dc6f3/attachment-0004.jpg> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3887 bytes Desc: S/MIME Kryptografische Unterschrift URL: <http://dovecot.org/pipermail/dovecot/attachments/20130105/ce5dc6f3/attachment-0004.bin>
Hi all there - sorry I have to repeat the mail since I got the message it was not delivered correctly. Hi all, I have run successfully a postfix/dovecot installation some time ago. Now, setting up a new server, I am lost with some error messages. I would appreciate some help. +++ f42252se dovecot: pop3-login: Error: auth: connect(login) in directory / failed: Permission denied (euid=113(<getpwu id() error>) egid=65534(<getgrgid() error>) missing +x perm: /, dir owned by 5000:5000 mode=0750) +++ This is the error message I get. "directory /" is a little bit courious to me. Here my dovecot config: +++ # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-35-generic x86_64 Ubuntu 12.04.1 LTS auth_debug = yes auth_mechanisms = plain login digest-md5 cram-md5 auth_verbose = yes hostname = mail.av.loc mail_debug = yes mail_gid = vmail mail_location = maildir:~/Maildir mail_privileged_group = vmail mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocols = imap pop3 service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0600 user = postfix } unix_listener auth-userdb { group = vmail mode = 0660 user = vmail } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_cipher_list ALL:!LOW:!SSLv2:ALL:!aNULL:!ADH:!eNULL:!EXP:RC4+RSA:+HIGH:+MEDIUM ssl_key = </etc/ssl/private/dovecot.pem syslog_facility = dovecot userdb { args = uid=vmail gid=vmail home=/home/vmail/%d/%n driver = static } +++ You probably see it immediatly what I fail to see. Thanks in advance -- Signatur Averlon info Mit freundlichen Gr??en / Kind Regards Karl-Heinz Fischbach Skype: khfischbach jabber: averlon at jabber.org Blog: averlon.posterous.com Signatur: Diese e-mail ist unter Umst?nden signiert. Die Signatur entspricht dem Deutschen Signaturgesetz und entsprechenden europ?ischen Regelungen. Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3887 bytes Desc: S/MIME Kryptografische Unterschrift URL: <http://dovecot.org/pipermail/dovecot/attachments/20130105/88fd903b/attachment-0004.bin>
Hello Karl-Heinz, Averlon wrote:> f42252se dovecot: pop3-login: Error: auth: connect(login) in directory / failed: Permission denied (euid=113(<getpwuid() error>) egid=65534(<getgrgid() error>) missing +x perm: /, dir owned by 5000:5000 mode=0750) > mail_location = maildir:~/Maildirmail_location is relative to mail_home. Possibly some user has its mail_home or home directory set to / Which home is displayed for the affected $username? doveadm user $username Then set mail_home correctly for the user: mail_home = /mail/%d/%n or in the dovecot userdb. Use variables from http://wiki2.dovecot.org/Variables Regards Daniel -- https://plus.google.com/103021802792276734820