Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Corruption of .mh_sequences files?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pd  
View profile  
 More options Oct 15 2008, 11:41 pm
Newsgroups: comp.mail.mh
From: pd <pfda...@gmail.com>
Date: Wed, 15 Oct 2008 20:41:52 -0700 (PDT)
Local: Wed, Oct 15 2008 11:41 pm
Subject: Corruption of .mh_sequences files?
I've been running nmh-1.3 on Mac OS X 5.5 for a month or so.  I use
fetchmail and procmail to retrieve messages from a POP3 server, and
all the procmail recipes use rcvstore to file the messages in various
folders.  This has been working perfectly until the last couple of
days.  Suddenly, I started seeing messages like:

rcvstore: eof encountered in field "7"
rcvstore: /Users/peterdavis/Mail/spam/.mh_sequences is poorly
formatted
rcvstore: eof encountered in field "400"
rcvstore: /Users/peterdavis/Mail/spam/.mh_sequences is poorly
formatted

Any clues about this?  If only rcvstore is touching the .mh_sequences
file, what could be corrupting it?

Thank you!

-pd


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pd  
View profile  
 More options Oct 16 2008, 6:57 am
Newsgroups: comp.mail.mh
From: pd <pfda...@gmail.com>
Date: Thu, 16 Oct 2008 03:57:12 -0700 (PDT)
Local: Thurs, Oct 16 2008 6:57 am
Subject: Re: Corruption of .mh_sequences files?
On Oct 15, 11:41 pm, pd <pfda...@gmail.com> wrote:

> I've been running nmh-1.3 on Mac OS X 5.5 for a month or so.  I use
> fetchmail and procmail to retrieve messages from a POP3 server, and
> all the procmail recipes use rcvstore to file the messages in various
> folders.  This has been working perfectly until the last couple of
> days.  Suddenly, I started seeing messages like:

> rcvstore: eof encountered in field "7"
> rcvstore: /Users/peterdavis/Mail/spam/.mh_sequences is poorly
> formatted
> rcvstore: eof encountered in field "400"
> rcvstore: /Users/peterdavis/Mail/spam/.mh_sequences is poorly
> formatted

> Any clues about this?  If only rcvstore is touching the .mh_sequences
> file, what could be corrupting it?

Just to add some info:

1) Deleting .mh_sequences doesn't solve the problem.  It just gets
recreated, and the messages start again.

2) When I tried to exit the Mac Terminal program, I was prompted about
killing a bunch of background rcvstore processes, so I'm guessing that
procmail is running this asynchronously, and that's what's causing the
problem ... multiple rcvstore processes trying to hit on
the .mh_sequences file at once.  My next step is to look at making
procmail run synchronously.

Thanks,
-pd


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin the Drummer  
View profile  
 More options Oct 16 2008, 11:57 am
Newsgroups: comp.mail.mh
From: Kevin the Drummer <nob...@cosgroves.us>
Date: Thu, 16 Oct 2008 10:57:30 -0500
Local: Thurs, Oct 16 2008 11:57 am
Subject: Re: Corruption of .mh_sequences files?

I've seen this a from time to time over the years, and not all that
often.  The issue is that the file really does get poorly formated, and
I wish I knew where.  Here's a correctly formated example:

cur: 18
pseq: 31
unseen: 31

Here's a bad one:

cur: 18
31
unseen: 31

I always see a number on a line by itself when I get that error message.
If I edit the file and just remove that line, then all is well again.
This has worked for me every time on SunOS, Solaris, and Linux with many
versions of MH, nmh, Xmh and exmh.

I hope that helps...

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pd  
View profile  
 More options Oct 16 2008, 12:55 pm
Newsgroups: comp.mail.mh
From: pd <pfda...@gmail.com>
Date: Thu, 16 Oct 2008 09:55:53 -0700 (PDT)
Local: Thurs, Oct 16 2008 12:55 pm
Subject: Re: Corruption of .mh_sequences files?
On Oct 16, 11:57 am, Kevin the Drummer <nob...@cosgroves.us> wrote:

Thanks.  This is similar to what I've seen in some cases, but I've
also seen it fail when the .mh_sequences file is empty.

More and more I suspect the problem lies with multiple child processes
spawned by procmail, all trying to read/write the .mh_sequences file
at once.  The procmail lockfile method should prevent that, but I
haven't figured out how to make that work yet.

Thanks!
-pd


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pd  
View profile  
 More options Oct 16 2008, 4:21 pm
Newsgroups: comp.mail.mh
From: pd <pfda...@gmail.com>
Date: Thu, 16 Oct 2008 13:21:18 -0700 (PDT)
Local: Thurs, Oct 16 2008 4:21 pm
Subject: Re: Corruption of .mh_sequences files?
Well, I did get lockfiles working in procmail, so we'll see if that
fixes the problem.  As I mentioned, I had been using this setup for a
month and a half with no errors, so I don't know how long to run
before I can consider the problem solved.

Thanks,
-pd


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin the Drummer  
View profile  
 More options Oct 17 2008, 5:19 pm
Newsgroups: comp.mail.mh
From: Kevin the Drummer <nob...@cosgroves.us>
Date: Fri, 17 Oct 2008 16:19:26 -0500
Local: Fri, Oct 17 2008 5:19 pm
Subject: Re: Corruption of .mh_sequences files?

pd <pfda...@gmail.com> wrote:
>  Well, I did get lockfiles working in procmail, so we'll see if that
>  fixes the problem.  As I mentioned, I had been using this setup for a
>  month and a half with no errors, so I don't know how long to run
>  before I can consider the problem solved.

How did you get the lockfiles working?

Thanks....

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Maillard  
View profile  
 More options Jan 23, 3:50 pm
Newsgroups: comp.mail.mh
From: Xavier Maillard <x...@gnu.org>
Date: Fri, 23 Jan 2009 21:50:12 +0100
Local: Fri, Jan 23 2009 3:50 pm
Subject: Re: Corruption of .mh_sequences files?

pd <pfda...@gmail.com> writes:
> Well, I did get lockfiles working in procmail, so we'll see if that
> fixes the problem.  As I mentioned, I had been using this setup for a
> month and a half with no errors, so I don't know how long to run
> before I can consider the problem solved.

What was the workaround ? I mean for lockfiles. I have the same
problem with multiple instances of rcvstore.

Regards


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google