[Dovecot] Mailbox isn't a valid mbox file
Keep getting this error within Squirrelmail (and other clients) on one particular user's mailbox file:
ERROR: Could not complete request. Query: SELECT "INBOX.Backup" Reason Given: Mailbox isn't a valid mbox file
I've snipped the first and last message off of it, still no love.
mailserver# cat FILE | od -c | less 0000000 F r o m p r o m o t i o n s @ 0000020 e m e s s a g e . c i s c o . c
So apparently there isn't a control character in the first message that'd be causing this either.
Anyone have any ideas? Only one user out of many is having this issue, but he's whiny...
-- Jay Chandler Network Administrator Chapman University
Jay Chandler wrote:
Keep getting this error within Squirrelmail (and other clients) on one particular user's mailbox file: ... Anyone have any ideas? Only one user out of many is having this issue, but he's whiny...
Try taking the physical mbox file, putting it on a client machine with Thunderbird in the <profile>Mail/Local Folders/ directory, then allow Thunderbird to open/rewrite/save it back out. Then stick it back on your server and see if that fixes it...
Or, maybe even do the above, create a *new* folder and drag&drop all the messages from folder A into folder B (so a fresh-write would have to happen), then put folder B back onto the server named as the original. TBird reads/writes regular old normal mbox files.
Just some ideas, hth. -te
-- Troy Engel | Systems Engineer Fluid, Inc | http://www.fluid.com
On 28.3.2007, at 23.45, Jay Chandler wrote:
Keep getting this error within Squirrelmail (and other clients) on
one particular user's mailbox file:ERROR: Could not complete request. Query: SELECT "INBOX.Backup" Reason Given: Mailbox isn't a valid mbox file I've snipped the first and last message off of it, still no love. mailserver# cat FILE | od -c | less 0000000 F r o m p r o m o t i o n
s @ 0000020 e m e s s a g e . c i s c
o . cSo apparently there isn't a control character in the first message
that'd be causing this either.
Show me the whole From line? The timestamp is probably in a format
that Dovecot doesn't recognize.
Timo Sirainen wrote:
On 28.3.2007, at 23.45, Jay Chandler wrote:
Keep getting this error within Squirrelmail (and other clients) on one particular user's mailbox file:
ERROR: Could not complete request. Query: SELECT "INBOX.Backup" Reason Given: Mailbox isn't a valid mbox file I've snipped the first and last message off of it, still no love. mailserver# cat FILE | od -c | less 0000000 F r o m p r o m o t i o n s @ 0000020 e m e s s a g e . c i s c o . c
So apparently there isn't a control character in the first message that'd be causing this either.
Show me the whole From line? The timestamp is probably in a format that Dovecot doesn't recognize.
First From line:
From promotions@emessage.cisco.com Wed Nov 10 11:55:54 2004
Last From line:
From peoplecom@patioshopsantacruz.com Mon Mar 5 12:23:52 2007
-- Jay Chandler Network Administrator Chapman University
On 4.4.2007, at 20.19, Jay Chandler wrote:
Timo Sirainen wrote:
On 28.3.2007, at 23.45, Jay Chandler wrote:
Keep getting this error within Squirrelmail (and other clients)
on one particular user's mailbox file:ERROR: Could not complete request. Query: SELECT "INBOX.Backup" Reason Given: Mailbox isn't a valid mbox file
Do you really have mboxes in "INBOX." namespace? Or is this just the
mailbox's name?
From promotions@emessage.cisco.com Wed Nov 10 11:55:54 2004
There's nothing wrong with this. Opening a mailbox beginning with
this line works. And that error message comes only if the mbox file
doesn't begin with a valid From-line. Nothing else matters after that.
participants (3)
-
Jay Chandler
-
Timo Sirainen
-
Troy Engel