[Dovecot] invalid mbox files

Harout S. Hedeshian harout at hedeshian.net
Sat Dec 31 19:17:02 EET 2005

Timo Sirainen wrote ..
> On Fri, 2005-12-30 at 17:50 -0700, Harout S. Hedeshian wrote:
> > I recently upgraded from dovecot 0.9x to 1.0.5-Aplha and now when ever
> folders are opened (in IMAP), it keeps saying invalid mbox files. It worked
> fine in 0.99.x. It is detecting the right mbox files because it lists the
> folders and the subscriptions correctly. I am using  "default_mail_env
> = mbox:~/mail/:INBOX=/var/mail/%u" in the config file, but I get the same
> error with "Detect automatically". It generates nothing in the log files
> so I am lost!! I tried both outlook and thunderbird but same results.
> Invalid mbox file error comes only if the first line of the mbox file
> isn't valid. What does it look like? It should be something like:
> From someone at somewhere  Wed Jan  5 09:03:48 2005
> 0.99.x Dovecot didn't accept broken From-lines either, but it might have
> had slightly different logic in checking what's valid and what's not.

Here is a sample file generated by postfix. Note: it is NOT censored or edited. What you see is the real thing.

>From - Sat, 6 Apr 2002 04:07:18^M
Return-Path: <List-owner at mail.fuelcellstore.com>
Received: from mail.fuelcellstore.com ([])
          by rwcrgwc55.attbi.com
          (InterMail vM. 201-229-121-127-20010626) with ESMTP
          id <20020406013417.LNRM3313.rwcrgwc55.attbi.com at mail.fuelcellstore.com>
          for <haroutetoot at attbi.com>; Sat, 6 Apr 2002 01:34:17 +0000
Received: from saa01.saleebaadams.com.au [] by mail.revealmail.com with ESMTP
  (SMTPD32-7.06) id A64E1BA01F8; Fri, 05 Apr 2002 17:50:22 -0700
Received: from saa01.saleebaadams.com.au ( []) by saa01.saleebaadams.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
        id 1KDV523W; Sat, 6 Apr 2002 08:45:25 +0800
Received: by saa01.saleebaadams.com.au (Microsoft Exchange Connector for POP3 Mailboxes 4.50.2113) with SMTP (Global POP3 Download)
         id MSG04062002-084518-2751.MMD at SAA01; Sat, 6 Apr 2002 08:45:18 +0800
Return-Path: <List-owner at mail.fuelcellstore.com>
Delivered-To: saa at iinet.net.au
Received: (qmail 28777 invoked by uid 666); 6 Apr 2002 00:24:40 -0000
Delivered-To: saa-saleebaadamscomau-n.juniper at saleebaadams.com.au
X-Envelope-To: <n.juniper at saleebaadams.com.au>
Received: (qmail 28767 invoked by uid 666); 6 Apr 2002 00:24:39 -0000
Received: from unknown (HELO mail.fuelcellstore.com) (
  by mail.iinet.net.au with SMTP; 6 Apr 2002 00:24:39 -0000
Received: from mtiwmhc23.worldnet.att.net [] by mail.revealmail.com with ESMTP
  (SMTPD32-7.06) id AD4D1690192; Fri, 05 Apr 2002 17:11:57 -0700
Received: from jason ([]) by mtiwmhc23.worldnet.att.net
          (InterMail vM. 201-229-121-127-20010626) with ESMTP
          id <20020406001120.RBFM8815.mtiwmhc23.worldnet.att.net at jason>;
          Sat, 6 Apr 2002 00:11:20 +0000
Reply-To: fuelcell at fuelcellstore.com
From: "fuelcell" <fuelcell at fuelcellstore.com>
To: list at mail.fuelcellstore.com
Subject: FuelCellStore.com
Date: Fri, 5 Apr 2002 17:11:08 -0700
Message-ID: <001d01c1dcff$8f6c5fa0$cacbfea9 at jason>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Importance: Normal
X-Sender: List-owner at mail.fuelcellstore.com
Precedence: bulk
Sender: List-owner at mail.fuelcellstore.com
Content-transfer-encoding: 8bit
X-IMAPbase: 1135543792 1
Status: O
X-UID: 1
Content-Length: 150475

Dear Fuel Cell Enthusiast,^M
FuelCellStore.com would like to tell you about several new fuel cell products and our redesigned website. ^M
*       ^M
        One of which is the new 500W unit that is available for residential back up power, or remote low power primary needs. These units can be stacked up to 1500W and self-starts upon grid failure ~V provi
ding critical power for nominal apparatus and remote applications. You will find a link to this product at www.fuelcellstore.com^M
*       ^M
        Bench Top Methanol Reformer capable of generating ultra-pure hydrogen from methanol and water for University and Research Labs. Please reply for more information. ^M
*       ^M
        A fuel cell powered remote control car with metal hydride storage. ^M
FuelCellStore.com has many new educational products and a new nav bar to help you find the products you are looking for. Please check out our Student and Teacher section at www.fuelcellstore.com/products.htm
Please let us know what you think of the new site structure and any feedback would be great. ^M
You have received this message because you have contacted fuelcellstore.com in the past and asked to receive FuelCellStore.com news. If you would like to unsubscribe from our mailing please reply to this mes
sage with unsubscribe in the subject heading. ^M
PO Box 4038^M
Boulder, CO 80306-4038^M

More information about the dovecot mailing list