Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2008 21:56:59 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Jerry McAllister <jerrymc@msu.edu>, Chris Maness <chris@chrismaness.com>
Subject:   Re: Mail Spool Problems / IMAP
Message-ID:  <200804082157.00491.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <20080408193245.GA87804@gizmo.acns.msu.edu>
References:  <20080407084644.T69126@ns1.kq6up.org> <20080408113654.W77997@ns1.kq6up.org> <20080408193245.GA87804@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804082157.00491.fbsd.questions>