[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] refile handling of corrupt .mh_sequences

From: bergman
Subject: Re: [Nmh-workers] refile handling of corrupt .mh_sequences
Date: Thu, 28 Feb 2013 12:34:23 -0500

In the message dated: Thu, 28 Feb 2013 11:37:47 -0500,
The pithy ruminations from Ken Hornstein on 
<Re: [Nmh-workers] refile handling of corrupt .mh_sequences> were:
=> >I frequently have corrupt .mh_sequences files, most likely due
=> >to interaction between procmail (using rcvstore) and claws-mail
=> >(which updates .mh_sequences, but seems to ignore rcvstore locks,
=> >unsurprisingly).
=> I don't suppose you could get the developers of claws-mail to fix
=> that, could you?  Ah, okay, I see that Steve Rader tried to get people
=> interested in improving the sequence support, and was basically told
=> "screw you hippie, it kills performance".  Which I guess is why he
=> wrote MH-V :-)

Yep. I've had similar interactions with the claws-mail folks... However,
their GUI is better than exmh, particularly for the increasing number
of attachments I'm receiving (well, that may not be fair...I should take
a look at any changes to exmh in the last 18 months).

=> >[1] Perhaps there could be an option (yet-another-nmh-option!) to always
=> >re-write poorly formatted files (delete lines that do not begin with a
=> >sequence name ie., string without whitespace, terminated by a colon).
=> >
=> >[2] Perhaps refile (and other things that read sequences files) could
=> >treat lines that do NOT begin with a string terminated with a colon and
=> >consist only of [0-9 -] as if they were a continuation of the previous
=> >sequence.
=> You're not going to love my answer .. but both of these things are hard.

Expected, understandable, and perfectly acceptable.

Really, having refile "complain" and stop is the right answer, which is
why I tried not to phrase my alternatives as a request for enhancement. I
was just curious about different ways to handle corrupt sequences,
and if other people are having similar issues with .mh_sequences files.

=> Why are they hard?  Well, the short answer is that a line without whitespace
=> but doesn't contain a colon isn't a valid RFC-822 header.
=> I suspect you're thinking, "Huh?  What does that have to do with sequences
=> files?"  Well, you may have noticed that a sequence file looks a lot like
=> an RFC-822 message header.  That's not a coincidence.  The same function
=> that reads email messages (m_getfld()) is used to read sequence files.

Yep. And lots of other stuff within nmh.

Thanks for the explanation.



=> --Ken
=> _______________________________________________
=> Nmh-workers mailing list
=> address@hidden
=> https://lists.nongnu.org/mailman/listinfo/nmh-workers

Mark Bergman    Biker, Rock Climber, Unix mechanic, IATSE #1 Stagehand
'94 Yamaha GTS1000A^2


I want a newsgroup with a infinite S/N ratio! Now taking CFV on:
15+ So Far--Want to join? Check out: http://www.panix.com/~bergman 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]