nmh-workers
[Top] [All Lists]

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

2013-02-28 11:34:39


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.

Mark

        [SNIP!]

=> 
=> --Ken
=> 
=> _______________________________________________
=> Nmh-workers mailing list
=> Nmh-workers(_at_)nongnu(_dot_)org
=> https://lists.nongnu.org/mailman/listinfo/nmh-workers
=> 

-- 
Mark Bergman    Biker, Rock Climber, Unix mechanic, IATSE #1 Stagehand
'94 Yamaha GTS1000A^2
bergman(_at_)panix(_dot_)com

http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=bergman%40panix.com

I want a newsgroup with a infinite S/N ratio! Now taking CFV on:
rec.motorcycles.stagehands.pet-bird-owners.pinballers.unix-supporters
15+ So Far--Want to join? Check out: http://www.panix.com/~bergman 

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>