I get the following error on two user accounts when they're trying to POP3 (Dovecot) login ... Dec 23 16:17:20 ext52 dovecot: chdir(/var/www/web4/user/web4_vic) failed with uid 10007: Permission denied Dec 23 16:17:20 ext52 pop3-login: Login: web4_vic [::ffff:59.167.72.102] Dec 23 16:17:20 ext52 dovecot: child 19922 (pop3) returned error 89 Directory listing is as follows # ls -la /var/www/web4/user/web4_vic total 128 drwxr-xr-x 4 web4_vic web4 4096 Nov 30 00:22 . drw-r--r-- 6 apache web4 4096 Dec 23 15:55 .. -rw-r--r-- 1 root root 103 Dec 23 16:11 .antivirus.rc -rw-r--r-- 1 root root 776 Dec 23 16:11 .autoresponder.rc -rw------- 1 web4_vic web4 24 Dec 23 16:11 .forward -rw-r--r-- 1 root root 67866 Dec 23 16:11 .html-trap.rc -rw-r--r-- 1 root root 3889 Dec 23 16:11 .local-rules.rc drwxrwxr-x 3 web4_vic web4 4096 Nov 30 00:22 mail -rw-r--r-- 1 root root 204 Dec 23 16:11 .mailsize.rc -rw-r--r-- 1 root root 452 Dec 23 16:11 .procmailrc -rw-r--r-- 1 root root 656 Dec 23 16:11 .quota.rc -rw-r--r-- 1 root root 1144 Dec 23 16:11 .spamassassin.rc -rw-r--r-- 1 root root 2010 Dec 23 16:11 .user_prefs -rw-r--r-- 1 root root 32 Dec 23 16:11 .vacation.msg drwxrwxr-x 2 web4_vic web4 4096 Nov 29 01:22 web # ls -la /var/www/web4/user/ total 24 drw-r--r-- 6 apache web4 4096 Dec 23 15:55 . drwxr-xr-x 8 apache web4 4096 Dec 16 22:46 .. -rwxrwxr-- 1 root root 0 Nov 28 21:49 .no_delete drwxr-xr-x 4 web4_vic web4 4096 Nov 30 00:22 web4_vic Help/Solution/Pointers gratiously accepted
Please send a email to this account and then try again to fetch it. The maildir is created by postfix when the first email arrives.
The account receives lots of email (5+ per hour), and until recently was working fine. Dec 23 22:25:52 ext52 postfix/local[29780]: 107B150502: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to mailbox) ... with this account having a .forward to the web4_vic account.
You shall enbale Maildir when you have Dovecot installed. But do you have other email accounts on the same server that work with dovecot and mbox?
Please enable Maildir, and then send an email to both accounts first before you try to fetch emails. Maildir will be created when the first email arrives.
I activated MailDir, but still no joy ... Dec 25 23:29:24 ext52 postfix/local[24493]: B2D0650386: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to mailbox) Dec 25 23:29:24 ext52 postfix/local[24492]: B2D0650386: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0, status=sent (delivered to mailbox) Dec 25 23:30:07 ext52 dovecot: chdir(/var/www/web4/user/web4_vic) failed with uid 10007: Permission denied Dec 25 23:30:07 ext52 pop3-login: Login: web4_vic [::ffff:59.167.72.102] Dec 25 23:30:08 ext52 dovecot: child 24525 (pop3) returned error 89 Dec 25 23:31:12 ext52 dovecot: chdir(/var/www/web4/user/web4_jason) failed with uid 10005: Permission denied Dec 25 23:31:12 ext52 pop3-login: Login: web4_jason [::ffff:220.253.113.61] Dec 25 23:31:12 ext52 dovecot: child 24545 (pop3) returned error 89