On Fri, Mar 16, 2012 at 18:05, Timo Sirainen <tss@iki.fi> wrote:
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<http://kictanet.or.ke/wash/mdbox/storage/m.4%28around> offset=894): msg header has bad magic value
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..
Must I edit src/settings.h to reflect my #define MBOX_PATH value? I think I had to do that, but things don't appear good at all.
[root@jaribu] ~wash/Tools/Dovecot/2.1/imaptest-20120129# ./src/imaptest host=localhost user=wash@kictanet.or.ke pass=XXX Fatal: Empty mbox file: /var/spool/virtual/kictanet.or.ke/wash/mdbox
You are welcome to access my box if you like, but I must warn you, things will be slow. Internationa links are slow as a result of fiber cuts in MSA, KE!
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.