[Dovecot] Mailbox isn't a valid mbox file
Getting "Mailbox isn't a valid mbox file" on 1.2rc2 after transferring mail from an ancient 0.99.13 system. The first line of the file looks ok. Curiously, it's one of my archival folders of this list. Here's the first header from the top of the file:
From tss at iki.fi Sat May 1 21:48:17 2004 From: tss at iki.fi (Timo Sirainen) Date: Sat May 1 21:54:18 2004 Subject: [Dovecot] 1.0-test2 released Message-ID: 1083437297.21296.19.camel@hurina X-IMAPbase: 1085322222 20128 Status: RO X-UID: 14065 Content-Length: 226989 X-Keywords:
It would be nice if the code that verified the mailbox format would log details about what it disliked.
--On Monday, June 08, 2009 11:05 AM -0400 Charles Marcus CMarcus@Media-Brokers.com wrote:
rc5 is the latest... you might wanna try with that first...
Thanks. I'll do that as soon as Rawhide catches up. (If it takes too long, I'll patch their source RPM to use RC5.)
I'm actually running with a couple patches from Mercurial while I waited for Timo's next RC, and it arrived right in the middle of my migration with my old server down and me furiously tweaking final settings to get things working.
On Jun 7, 2009, at 11:14 PM, Kenneth Porter wrote:
Getting "Mailbox isn't a valid mbox file" on 1.2rc2 after
transferring mail from an ancient 0.99.13 system. The first line of
the file looks ok. Curiously, it's one of my archival folders of
this list. Here's the first header from the top of the file:From tss at iki.fi Sat May 1 21:48:17 2004 .. It would be nice if the code that verified the mailbox format would
log details about what it disliked.
It's always only the From line that it doesn't like. Do you really
have "tss at iki.fi" instead of "tss@iki.fi"? That's why it's not
working. It's expecting: From single-word timestamp.
--On Monday, June 08, 2009 10:09 AM -0700 Timo Sirainen tss@iki.fi wrote:
It's always only the From line that it doesn't like. Do you really have "tss at iki.fi" instead of "tss@iki.fi"? That's why it's not working. It's expecting: From single-word timestamp.
That's what's in the file. It's possible I grabbed an archive from mailman and dropped it in the directory ages ago, as mailman obfuscates addresses like that. Perhaps 0.99 wasn't as fussy about the separator line and just looked for "From " at the beginning of a line. (Not saying fussy is bad. ;))
I can probably cook up a Perl regex to fix it but it's just a couple of list archives at this point so I'm not too worried about them. My biggest problem was that the mail client (Mulberry) was stopping it's new-mail scan over my hiearchy when it hit the bad folders, so I had to move them out of the tree.
participants (3)
-
Charles Marcus
-
Kenneth Porter
-
Timo Sirainen