Ken A
2007-Sep-28 22:04 UTC
[Dovecot] dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file
> ERROR: > ERROR: Could not complete request. > Query: SELECT "Mailbox" > Reason Given: Mailbox isn't a valid mbox fileremoving the () from the first line of the mbox fixed it. The line: From luser at hotmail.com () Mon Jun 25 11:20:33 2007 Is this a valid line? -- Ken Anderson Pacific.Net
Timo Sirainen
2007-Sep-30 10:59 UTC
[Dovecot] dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file
On Fri, 2007-09-28 at 17:04 -0500, Ken A wrote:> removing the () from the first line of the mbox fixed it. > > The line: > > From luser at hotmail.com () Mon Jun 25 11:20:33 2007 > > Is this a valid line?There isn't an mbox standard, so it may or may not be valid. I've made Dovecot be pretty strict about what the From lines may look like. What generated this line? Although it gives this error at the beginning of file, if it happens elsewhere in the mbox file no errors are given, and instead the mail becomes part of the previous mail. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070930/67ebbc10/attachment-0002.bin>
Ken A
2007-Oct-01 14:21 UTC
[Dovecot] dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file
Timo Sirainen wrote:> On Fri, 2007-09-28 at 17:04 -0500, Ken A wrote: >> removing the () from the first line of the mbox fixed it. >> >> The line: >> >> From luser at hotmail.com () Mon Jun 25 11:20:33 2007 >> >> Is this a valid line? > > There isn't an mbox standard, so it may or may not be valid. I've made > Dovecot be pretty strict about what the From lines may look like. > > What generated this line? Although it gives this error at the beginning > of file, if it happens elsewhere in the mbox file no errors are given, > and instead the mail becomes part of the previous mail. >I believe it's this line: print MAIL "From: $Config{'email'} ($Config{'realname'})\n"; from this evil perl script: http://www.scriptarchive.com/download.cgi?s=formmail&c=txt&f=FormMail%2Epl This one script has caused more grief... :-( Ken -- Ken Anderson Pacific.Net