Using the latest RPM (dovecot-0.99.10.5) on Fedora Core 2. I connected to the server by POP3 for a user who'd not yet received email (ever) so she didn't have a spool file in /var/spool/mail, and dovecot was failing on login. I just tested it by removing my own mailbox and see this in maillog: pop3-login: Login: ken [127.0.0.1] pop3(ken): stat() failed with mbox file /var/spool/mail/ken: No such file or directory pop3(ken): stat() failed with mbox file /var/spool/mail/ken: No such file or directory pop3: I/O leak: 0x8050c20 (0) pop3: I/O leak: 0x8084b90 (1) pop3: Timeout leak: 0x8065d00>From the client, I enter the USER and PASS command and get:+OK Logged in. Connection closed by foreign host.
On 13.7.2004, at 04:27, Kenneth Porter wrote:> Using the latest RPM (dovecot-0.99.10.5) on Fedora Core 2. I connected > to the server by POP3 for a user who'd not yet received email (ever) > so she didn't have a spool file in /var/spool/mail, and dovecot was > failing on login. > > I just tested it by removing my own mailbox and see this in maillog: > > pop3-login: Login: ken [127.0.0.1] > pop3(ken): stat() failed with mbox file /var/spool/mail/ken: No such > file or directoryHmm. What do you have in default_mail_env setting? That file should be created automatically, and I couldn't get it to break myself. Or actually, does the user have access to create new files in /var/spool/mail? Looks like Dovecot doesn't complain if it can't create it. I'll change that. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040713/8a685baa/attachment-0001.bin>
--On Tuesday, July 13, 2004 1:47 PM +0300 Timo Sirainen <tss at iki.fi> wrote:> Hmm. What do you have in default_mail_env setting? That file should be > created automatically, and I couldn't get it to break myself.default_mail_env = mbox:~/mail:INBOX=/var/spool/mail/%u> Or actually, does the user have access to create new files in > /var/spool/mail? Looks like Dovecot doesn't complain if it can't create > it. I'll change that.No. On Fedora Core 2: [ken at newred spool]$ ls -ld /var/spool/mail drwxrwxr-x 2 root mail 4096 Jul 13 07:29 /var/spool/mail