[Dovecot] telnet to dovecot not creating mbox
Hi,
Whenever I create a new email user, telnet fails until an email is sent to that user to create his mbox. This is the error that it gives. Anyone know how to fix this? I could create the email account script to touch the users mbox, but I havn't needed to do this in the past with ipop3d and dovecot on a different server.
[root@mail log]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user testact +OK pass +OK Logged in. -ERR Internal error occurred. Refer to server log for more information. [2007-07-13 10:37:15] Connection closed by foreign host.
Jul 13 10:33:43 mail dovecot: pop3-login: Login: user=<testact>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Jul 13 10:33:43 mail dovecot: POP3(testlol): open(/var/spool/mail/testact, O_CREAT) failed: Permission denied Jul 13 10:33:43 mail dovecot: POP3(testlol): access() failed with mbox file /var/spool/mail/testact: No such file or directory Jul 13 10:33:43 mail dovecot: POP3(testlol): stat() failed with mbox file /var/spool/mail/testact: No such file or directory Jul 13 10:33:43 mail dovecot: POP3(testlol): Couldn't init INBOX: Internal error occurred. Refer to server log for more information. [2007-07-13 10:33:43] Jul 13 10:33:43 mail dovecot: POP3(testlol): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0
Andy
On 7/13/07, Andy Fadich andyf@genextllc.com wrote:
Whenever I create a new email user, telnet fails until an email is sent to that user to create his mbox. This is the error that it gives. Anyone know how to fix this? I could create the email account script to touch the users mbox, but I havn't needed to do this in the past with ipop3d and dovecot on a different server.
Are the permission bits on /var/spool/mail kosher for the dovecot user to do this on its own?
-- Gabriel Millerd
Andy Fadich wrote:
Hi,
Whenever I create a new email user, telnet fails until an email is sent to that user to create his mbox. This is the error that it gives. Anyone know how to fix this? I could create the email account script to touch the users mbox, but I havn't needed to do this in the past with ipop3d and dovecot on a different server.
[root@mail log]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Dovecot ready. user testact +OK pass +OK Logged in. -ERR Internal error occurred. Refer to server log for more information. [2007-07-13 10:37:15] Connection closed by foreign host.
Jul 13 10:33:43 mail dovecot: pop3-login: Login: user=<testact>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Jul 13 10:33:43 mail dovecot: POP3(testlol): open(/var/spool/mail/testact, O_CREAT) failed: Permission denied Jul 13 10:33:43 mail dovecot: POP3(testlol): access() failed with mbox file /var/spool/mail/testact: No such file or directory Jul 13 10:33:43 mail dovecot: POP3(testlol): stat() failed with mbox file /var/spool/mail/testact: No such file or directory Jul 13 10:33:43 mail dovecot: POP3(testlol): Couldn't init INBOX: Internal error occurred. Refer to server log for more information. [2007-07-13 10:33:43] Jul 13 10:33:43 mail dovecot: POP3(testlol): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0
Andy
mail_extra_groups = mail ?
Ken Anderson Pacific.Net
participants (3)
-
Andy Fadich
-
Gabriel Millerd
-
Ken A