Re: [Dovecot] Mailbox isn't a valid mbox file

2009-06-08 Thread Charles Marcus
On 6/8/2009, Kenneth Porter (sh...@sewingwitch.com) wrote:
 Getting Mailbox isn't a valid mbox file on 1.2rc2

rc5 is the latest... you might wanna try with that first...

-- 

Best regards,

Charles


Re: [Dovecot] Mailbox isn't a valid mbox file

2009-06-08 Thread Timo Sirainen

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 t...@iki.fi? That's why it's not  
working. It's expecting: From single-word timestamp.




Re: [Dovecot] Mailbox isn't a valid mbox file

2009-06-08 Thread Kenneth Porter

--On Monday, June 08, 2009 10:09 AM -0700 Timo Sirainen t...@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 t...@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.





Re: [Dovecot] Mailbox isn't a valid mbox file

2009-06-08 Thread Kenneth Porter
--On Monday, June 08, 2009 11:05 AM -0400 Charles Marcus 
cmar...@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.




Re: [Dovecot] Mailbox isn't a valid mbox file

2007-04-06 Thread Timo Sirainen

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 [EMAIL PROTECTED]  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.


PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Mailbox isn't a valid mbox file

2007-03-28 Thread Troy Engel

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 profileMail/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 dragdrop 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