[Dovecot] dovecot 1.05 err: Reason Given: Mailbox isn't a valid mbox file

Ken A ka at pacific.net
Mon Oct 1 17:21:03 EEST 2007


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


More information about the dovecot mailing list