Dovecot Error Chdir Failed Permission Denied
Contents |
to server log for more information. Next message: [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information. Messages sorted by: permission denied: failed to chdir to /root [ date ] [ thread ] [ subject ] [ author dovecot mail_location ] On Fri, Nov 16, 2012 at 12:47:52PM -0800, Thufir wrote: > I ran dovecot -a and the
Dovecot Mbox
blizzard of data seemed ok to my limited > knowledge. Is there another log I should look into to trace this > error down? It's actually a Postfix
Dovecot Lda
problem. Postfix is invoking your Dovecot LDA with wrong permissions. > Dovecot and system info: > > thufir at dur:~$ > thufir at dur:~$ dovecot --version > 2.0.19 > thufir at dur:~$ > thufir at dur:~$ cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=12.04 > DISTRIB_CODENAME=precise > DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" > thufir at dur:~$ > > testing postfix & dovecot > (http://packages.ubuntu.com/precise/dovecot-postfix): > > root at dur:/etc/postfix# > root at dur:/etc/postfix# telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 dur.bounceme.net ESMTP Postfix (Ubuntu) > helo me > 250 dur.bounceme.net > mail from:foo at bar.com Angle brackets are required on envelope addresses (and I bet you don't own bar.com): MAIL FROM:
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise http://www.dovecot.org/list/dovecot/2012-November/086935.html to the top dovecot permission issue up vote -1 down vote favorite I'm getting in my syslog the following warning 27 16:53:54 h2004156 dovecot: imap-login: Login: user=
Code: dovecot: dovecot: Fatal: chdir(/var/vmail/domain.com/user/) failed: Permission denied (euid=5000() egid=5000() missing +x perm: /var/vmail/domain.com) dovecot: dovecot: child 22766 (imap) returned error 89 (Fatal failure) I do: Code: chmod https://www.howtoforge.com/community/threads/error-in-dovecot.53645/ +x /var/vmail/domain.com/user chown -R vmail:vmail /var/vmail And I still have the same error. Code: [emailprotected]:/var/vmail# ls -al total 24 drwxr-xr-x 4 vmail vmail 4096 Aug 3 12:27 . drwxr-xr-x 16 root root 4096 http://thr3ads.net/dovecot/2012/11/2118512-dovecot-lda-root-Fatal-Invalid-user-settings.-Refer-to-server-log-for-more-information Aug 3 00:30 .. -rw------- 1 vmail vmail 1382 Aug 3 12:34 .mailfilter -rw-r--r-- 1 vmail vmail 1382 Aug 3 12:34 .mailfilter~ drwxr-xr-x 2 vmail vmail 4096 Aug 2 12:26 mailfilters drwx------ permission denied 3 vmail vmail 4096 Aug 3 12:27 domain.com [emailprotected]:/var/vmail/domain.com# ls -al total 12 drwx------ 3 vmail vmail 4096 Aug 3 12:27 . drwxr-xr-x 4 vmail vmail 4096 Aug 3 12:27 .. drwx--x--x 3 vmail vmail 4096 Aug 3 12:27 user [emailprotected]:/var/vmail/domain.com/user# ls -al total 16 drwx--x--x 3 vmail vmail 4096 Aug 3 12:27 . drwx------ 3 vmail vmail 4096 Aug 3 12:27 .. drwx--x--x dovecot error chdir 9 vmail vmail 4096 Aug 3 12:27 Maildir -rw-r--r-- 1 vmail vmail 48 Aug 3 12:27 .sieve Code: [emailprotected]:~# dpkg -l | grep dovecot ii dovecot-common 1:1.2.15-7 secure mail server that supports mbox and maildir mailboxes ii dovecot-imapd 1:1.2.15-7 secure IMAP server that supports mbox and maildir mailboxes ii dovecot-pop3d 1:1.2.15-7 secure POP3 server that supports mbox and maildir mailboxes ISPconfig 3.0.3.3 Debian 6.0.2 Last edited: Aug 3, 2011 mentes, Aug 3, 2011 #1 till Super Moderator Staff Member ISPConfig Developer Which Linux distribution? till, Aug 3, 2011 #2 mentes Member Debian 6.0.2 mentes, Aug 3, 2011 #3 mentes Member Another check: Code: [emailprotected]:~# telnet mail.domain.com 143 Trying xx.xx.xx.xx... Connected to mail.domain.com. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] my-domain.tld IMAP server ready... a login [emailprotected] 123456 Connection closed by foreign host. [emailprotected]:~# mentes, Aug 3, 2011 #4 Mark_NL New Member Just wondering... Log into your mysql database and run this query Code: select uid,gid from dbispconfig.mail_user where not uid=5000; what is the result of the query? also /var/vmail/domain.com has no +x group rights .. though i still
emails from 3 people Tags Short URL https://thr3ads.net/2118512 If this information is useful, please help other people find it: Share via: Twitter Facebook Email Thufir 2012-Nov-16 20:47 UTC head link [Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to server log for more information. I ran dovecot -a and the blizzard of data seemed ok to my limited knowledge. Is there another log I should look into to trace this error down? Dovecot and system info: thufir at dur:~$ thufir at dur:~$ dovecot --version 2.0.19 thufir at dur:~$ thufir at dur:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS" thufir at dur:~$ testing postfix & dovecot (http://packages.ubuntu.com/precise/dovecot-postfix): root at dur:/etc/postfix# root at dur:/etc/postfix# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is ''^]''. 220 dur.bounceme.net ESMTP Postfix (Ubuntu) helo me 250 dur.bounceme.net mail from:foo at bar.com 250 2.1.0 Ok rcpt to:root at dur.bounceme.net 250 2.1.5 Ok data 354 End data with