[Dovecot] File isn't in mbox format - Couldn't open INBOX
I cannot reproduce this error everytime, but it seems to happen when Outlook tries to delete the first message (the first message in the file, message on top) in the /var/mail/user file.
I tried looking through the mailing list but came up blank. Is this a known problem?
I can fix this problem by editing the file manually and fixing the file. If I delete the first 2 lines (in the example below) and make sure the Inbox file starts at "From ..." it works fine again.
Here is the log:
Feb 2 09:23:45 angel pop3-login: Login: sathyan [127.0.0.1] Feb 2 09:23:45 angel pop3(sathyan): File isn't in mbox format: /var/mail/sathyan Feb 2 09:23:45 angel pop3(sathyan): File isn't in mbox format: /var/mail/sathyan Feb 2 09:23:45 angel pop3(sathyan): Couldn't open INBOX: Internal error occured. Refer to server log for more information. [2005-02-02 09:23:45]
The inbox file for this user looks like this:
[root@angel mail]# head sathyan zenxoI6Jdi_xPyRoBhrhf--
From caecelius@payaway.every1.net Wed Feb 2 07:03:36 2005 Return-Path: <caecelius@payaway.every1.net>
--
Girish Patangay <girish@intoto.com> Intoto Inc <www.intoto.com> Phone: 408.844.0480x304 Fax: 408.844.0488 PG ID: 0x74D3A118
On Wed, 2005-02-02 at 11:31 -0800, Girish Patangay wrote:
I cannot reproduce this error everytime, but it seems to happen when Outlook tries to delete the first message (the first message in the file, message on top) in the /var/mail/user file.
I tried looking through the mailing list but came up blank. Is this a known problem?
What Dovecot version? There have been several fixes for mbox in 0.99.x series, and 1.0-tests have completely rewritten (better and faster) mbox support.
participants (2)
-
Girish Patangay
-
Timo Sirainen