From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 20:29:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79AC4106564A for ; Tue, 8 Apr 2008 20:29:14 +0000 (UTC) (envelope-from chris@chrismaness.com) Received: from nlpi087.prodigy.net (nlpi087.prodigy.net [207.115.36.103]) by mx1.freebsd.org (Postfix) with ESMTP id 446298FC1C for ; Tue, 8 Apr 2008 20:29:13 +0000 (UTC) (envelope-from chris@chrismaness.com) X-ORBL: [76.238.148.145] Received: from adsl-76-238-148-145.dsl.irvnca.sbcglobal.net (adsl-76-238-148-145.dsl.irvnca.sbcglobal.net [76.238.148.145]) by nlpi087.prodigy.net (8.13.8 out.dk.spool/8.13.8) with ESMTP id m38KTCOx031916; Tue, 8 Apr 2008 15:29:12 -0500 Date: Tue, 8 Apr 2008 13:29:11 -0700 (PDT) From: Chris Maness X-X-Sender: chris@ns1.kq6up.org To: Mel In-Reply-To: <200804082157.00491.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20080408132302.J78628@ns1.kq6up.org> References: <20080407084644.T69126@ns1.kq6up.org> <20080408113654.W77997@ns1.kq6up.org> <20080408193245.GA87804@gizmo.acns.msu.edu> <200804082157.00491.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jerry McAllister , freebsd-questions@freebsd.org Subject: Re: Mail Spool Problems / IMAP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2008 20:29:14 -0000 > On Tuesday 08 April 2008 21:32:45 Jerry McAllister wrote: >> On Tue, Apr 08, 2008 at 11:42:41AM -0700, Chris Maness wrote: >>> On Tue, 8 Apr 2008, Chuck Swiger wrote: >>>> On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: >>>>> How is this header look? I am not quite sure of what I am looking for. >>>> >>>> That seems to be fine. If it was corrupted, you'd see a line or a few >>>> lines of obvious binary garbage... >>>> >>>> -- >>>> -Chuck >>> >>> It does seem like something something is corrupt. What can I do to reset >>> everything and restore everything so that thunderbird can read my inbox >>> again. I have contempalted deleting the user, but I'm not sure if that >>> will delete what ever is corrupted. >> >> Very often it is only one character out of place. Each header should >> start with 'From' in the beginning of a line > > Since you mention one character, it should actually be starting with 'From ' > and any line that starts with 'From ' that is not the start of a mail should > be changed to '>From ' before ending up in the mbox file. > > This test weeds it out, allthough there's still room for false positives, > easily resolved by the human brain: > grep '^From ' /var/mail/myloginname |grep -v '200[78]$' > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > Actually, the mail that is in /var/mail/chris gets moved to /home/chris/mbox Before it gets moved, it does not have this placeholder header. It only has the headers of e-mail sent since the last time mail was checked and moved to the mbox file. Also, none of headers in the mbox have the chicken lips ">" not even the first one that I posted. Wouldn't these issues be rectified if I deleted the mbox file and started from scratch?