On 16.03.2012 16:05, wrote Timo Sirainen:
On Fri, 2012-03-16 at 17:00 +0300, Odhiambo Washington wrote:
Mar 16 13:33:23 jaribu dovecot: imap(wash@kictanet.or.ke): Error: Corrupted dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4(around offset=894): msg header has bad magic value
This is kind of the same error message I'm getting with doveadm backup. I can reproduce this at will. Not sure however if this is related.
http://www.dovecot.org/list/dovecot/2012-March/064462.html
Ok. I have been able to reproduce it anyway.
It looks like mdbox is completely broken in your setup. Don't try to use it until this is solved, or you'll probably end up losing mails.
Could you try if you can easily reproduce this using imaptest? http://imapwiki.org/ImapTest
Simply run it for an empty test account as:
imaptest host=localhost user=testuser pass=testpass
Maybe I should set up a FreeBSD VM to try this myself. Or if anyone else can report that they can reproduce this problem that would be helpful..