[Dovecot] File isn't in mbox format: /home/foo/mail/Trash
Hello,
I'm seeing the following error on a server:
File isn't in mbox format: /home/foo/mail/Trash
The Trash file is full of the following at the beginning:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
I've repaired the file several times, but this keeps happening. Would any of you mind offering me some insight into what could be causing this and how to fix it?
Below is some information about the system:
[root@server1 mail]# uname -a Linux server1.example.com 2.6.9-42.0.2.EL #1 Thu Aug 17 17:36:53 EDT 2006 i686 athlon i386 GNU/Linux [root@server1 mail]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 4) [root@server1 mail]# rpm -qa|grep -i dovecot dovecot-0.99.11-4.EL4 [root@sever1 mail]# rpm -qa|grep -i sendmail sendmail-cf-8.13.1-3.RHEL4.5 sendmail-8.13.1-3.RHEL4.5
Here's everything that isn't a comment or blank line in dovecot.conf:
[root@server1 mail]# grep -v ^# /etc/dovecot.conf|grep -v ^$ protocols = imap imaps pop3 pop3s imap_listen = [::] pop3_listen = [::] login_dir = /var/run/dovecot-login login = imap login = pop3 mbox_locks = flock auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = pam auth_user = root
Any advice would be appreciated.
Best Regards,
James Lupolt
On Mon, 2006-10-16 at 05:40 -0500, James Lupolt wrote:
Hello,
I'm seeing the following error on a server:
File isn't in mbox format: /home/foo/mail/Trash
The Trash file is full of the following at the beginning:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^
I've repaired the file several times, but this keeps happening. Would any of you mind offering me some insight into what could be causing this and how to fix it?
This is a known problem with v0.99.x. The mbox code has been rewritten in 1.0rc versions and it doesn't have this problem, so I'd just suggest upgrading.
participants (2)
-
James Lupolt
-
Timo Sirainen