nmh-workers
[Top] [All Lists]

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

2013-02-28 10:51:50
hi mark --

bergman(_at_)merctech(_dot_)com wrote:

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).

Regardless of the cause, I often end up with a .mh_sequences file that
has a line break between message numbers and looks like:

i have trouble dredging up sympathy for bugs that result from ignoring
a locking protocol.  :-)

i guess i avoid this by delivering from procmail to mbox files
(maildir would be fine too -- just never switched over), for which the
locking protocol is well known and understood.

when i want to read mail, i run a script that loops across all
(or optionally just a subset) of those mbox files, inc'ing into
corresponding mh folders.  the inc'ing script could be run from cron
if one wanted something closer to true asynchrony, i suppose.

paul
----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 35.6 degrees)

_______________________________________________
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>