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@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@mail.fuelcellstore.com Received: from mail.fuelcellstore.com ([207.174.23.2]) by rwcrgwc55.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id 20020406013417.LNRM3313.rwcrgwc55.attbi.com@mail.fuelcellstore.com for haroutetoot@attbi.com; Sat, 6 Apr 2002 01:34:17 +0000 Received: from saa01.saleebaadams.com.au [203.59.141.98] 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 (10.0.0.13 [10.0.0.13]) 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@SAA01; Sat, 6 Apr 2002 08:45:18 +0800 Return-Path: List-owner@mail.fuelcellstore.com Delivered-To: saa@iinet.net.au Received: (qmail 28777 invoked by uid 666); 6 Apr 2002 00:24:40 -0000 Delivered-To: saa-saleebaadamscomau-n.juniper@saleebaadams.com.au X-Envelope-To: n.juniper@saleebaadams.com.au Received: (qmail 28767 invoked by uid 666); 6 Apr 2002 00:24:39 -0000 Received: from unknown (HELO mail.fuelcellstore.com) (207.174.23.2) by mail.iinet.net.au with SMTP; 6 Apr 2002 00:24:39 -0000 Received: from mtiwmhc23.worldnet.att.net [204.127.131.48] by mail.revealmail.com with ESMTP (SMTPD32-7.06) id AD4D1690192; Fri, 05 Apr 2002 17:11:57 -0700 Received: from jason ([12.81.167.50]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id 20020406001120.RBFM8815.mtiwmhc23.worldnet.att.net@jason; Sat, 6 Apr 2002 00:11:20 +0000 Reply-To: fuelcell@fuelcellstore.com From: "fuelcell" fuelcell@fuelcellstore.com To: list@mail.fuelcellstore.com Subject: FuelCellStore.com Date: Fri, 5 Apr 2002 17:11:08 -0700 Message-ID: 001d01c1dcff$8f6c5fa0$cacbfea9@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@mail.fuelcellstore.com Precedence: bulk Sender: List-owner@mail.fuelcellstore.com Content-transfer-encoding: 8bit X-IMAPbase: 1135543792 1 Status: O X-UID: 1 Content-Length: 150475 X-Keywords:
Dear Fuel Cell Enthusiast,^M ^M FuelCellStore.com would like to tell you about several new fuel cell products and our redesigned website. ^M ^M
ding critical power for nominal apparatus and remote applications. You will find a link to this product at www.fuelcellstore.com^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
^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 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 l^M Please let us know what you think of the new site structure and any feedback would be great. ^M ^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 ^M Sincerely,^M ^M FuelCellStore.com^M PO Box 4038^M Boulder, CO 80306-4038^M^M A fuel cell powered remote control car with metal hydride storage. ^M