POP3 Dovecot Login Failure

Discussion in 'Installation/Configuration' started by Mouth, Dec 23, 2006.

  1. Mouth

    Mouth New Member

    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 :)
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. Mouth

    Mouth New Member

    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=<web4_@xxx.xxx.com>, orig_to=<admin@xxx.com>, relay=local, delay=0, status=sent (delivered to mailbox)

    ... with this account having a .forward to the web4_vic account.
     
    Last edited: Dec 23, 2006
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you use maildir or mbox mail storage?
     
  5. Mouth

    Mouth New Member

    Manager | Server, Settings | EMail
    ... Maildir is unticked. I assume this means that it's mbox?
     
  6. Mouth

    Mouth New Member

    Anyone have any thoughts?
    If I change to maildir, would it fix the problem?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    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?
     
  8. Mouth

    Mouth New Member

    No ... only 2 accounts and both give the POP3 login failure
     
  9. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  10. Mouth

    Mouth New Member

    I activated MailDir, but still no joy ...

    Dec 25 23:29:24 ext52 postfix/local[24493]: B2D0650386: to=<web4_vic@xxx.com>, orig_to=<vic@xxx.com>, relay=local, delay=0, status=sent (delivered to mailbox)
    Dec 25 23:29:24 ext52 postfix/local[24492]: B2D0650386: to=<web4_jason@xxx.com>, orig_to=<jason@xxx.com>, 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
     
  11. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -la /var/www/web4/user/web4_vic
    now?
     

Share This Page