On Sep 20, 2007 at 1742 +0300, Timo Sirainen appeared and said: > On Thu, 2007-09-20 at 15:58 +0200, René Pfeiffer wrote: > > -ERR No INBOX for user. > > Set mail_debug=yes and look at the logs.
This produces the following entries: Sep 20 17:42:35 messages dovecot: Dovecot v1.0.rc15 starting up Sep 20 17:42:49 messages dovecot: pop3-login: Login: user=<XXXXXX>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): Effective uid=1040, gid=521 Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): maildir autodetect: stat(/var/mail/XXXXXX/cur) failed: Not a directory Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): mbox autodetect: data=/var/mail/XXXXXX Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): mbox autodetect: INBOX file: yes (/var/mail/XXXXXX) Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): mbox: data=/var/mail/XXXXXX Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): mbox: root exists (/home/mailuser/XXXXXX/mail) Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): mbox: root=/home/mailuser/XXXXXX/mail, index=/home/mailuser/XXXXXX/mail, inbox=/var/mail/XXXXXX Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2007-09-20 17:42:49] Sep 20 17:42:49 messages dovecot: POP3(XXXXXX): No INBOX for user top=0/0, retr=0/0, del=0/0, size=0 I checked the permissions of /var/mail/XXXXXX and all files in /home/mailuser/XXXXXX/mail/. Everything is correct, all files and directories belong to the user account of the mailbox. The user only uses the mailbox in /var/mail/, there are no folders in ~/mail/ and only POP3 polling takes place. Best, René. -- )\._.,--....,'``. Let GNU/Linux work for you while you take a nap. /, _.. \ _\ (`._ ,. R. Pfeiffer <lynx at luchs.at> + http://web.luchs.at/ `._.-(,_..'--(,_..'`-.;.' - System administration + Consulting + Teaching - Got mail delivery problems? http://web.luchs.at/information/blockedmail.php
pgpmqn16CXVZh.pgp
Description: PGP signature