[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 file
removing the () from the first line of the mbox fixed it.
The line:
From luser@hotmail.com () Mon Jun 25 11:20:33 2007
Is this a valid line?
-- Ken Anderson Pacific.Net
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@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.
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@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
participants (2)
-
Ken A
-
Timo Sirainen