[Dovecot] Problem with mbox files.
I have trouble to get my INBOX-mbox to work properly.
I have set the default_mail_env, to this..
"default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u"
Since my users are using thier home-dirs to store folders and old mails, and recieving them in /var/mail/username.
But when logging in i get this..
Sep 9 12:25:23 angelica imap-login: Login: username [217.151.192.103] Sep 9 12:25:23 angelica imap(username): stat() failed with mbox file /var/mail/username : No such file or directory
Just like the file wasn't there?! But checking..
.~ > ls -l /var/mail/username 1200 -rw-rw---- 1 username mail 1222055 Sep 9 12:16 /var/mail/username
I can see that it is there, and containing mails.. It's not corrupt or anything like that. And its not a link of any kind.
Why am I getting this error? And how do I solve it? I've tested to disable chroots, but get the same error...
/d
--
... david röhr | o_
.. unix systems consultant | o/ /\ Solaris, AIX, HP-UX
. qbranch system management | /|_, \\ and GNU/Linux Certified.
www.qbranch.se /
`
On Tue, 2003-09-09 at 14:09, David Röhr wrote:
"default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u"
Sep 9 12:25:23 angelica imap(username): stat() failed with mbox file /var/mail/username : No such file or directory
Do you have space after the %u? Dovecot thinks it belongs to the mailbox name.
On Tue, 09 Sep 2003 [16:08], Timo Sirainen (tss@iki.fi) wrote:
On Tue, 2003-09-09 at 14:09, David Röhr wrote:
"default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u"
Sep 9 12:25:23 angelica imap(username): stat() failed with mbox file /var/mail/username : No such file or directory
Do you have space after the %u? Dovecot thinks it belongs to the mailbox name.
You are my saviour. That was the case! Haha, I can't realy see how I didn't see that before. Been looking everywhere for the bug. Thanks!
/d
--
... david röhr | o_
.. unix systems consultant | o/ /\ Solaris, AIX, HP-UX
. qbranch system management | /|_, \\ and GNU/Linux Certified.
www.qbranch.se /
`
participants (2)
-
David Röhr
-
Timo Sirainen