[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Pasing stdin to "inc -file" ?
From: |
Valdis . Kletnieks |
Subject: |
Re: [Nmh-workers] Pasing stdin to "inc -file" ? |
Date: |
Mon, 18 Feb 2013 12:52:09 -0500 |
On Sat, 16 Feb 2013 15:30:55 -0700, Joel Uckelman said:
> The second colon tells procmail to use a lockfile for this recipe, and
> the path after that is the lockfile name. Messages can come in any
> time; the lockfile ensures that two runs of rcvstore don't step on each
> other's toes.
And the exact gotcha involved, from 'nman rcvstore':
BUGS
If you use the "Unseen-Sequence" profile entry, rcvstore could try to
update the context while another
nmh process is also trying to do so. This can cause the context to
become corrupted. To avoid this,
do not use rcvstore if you use the "Unseen-Sequence" profile entry.
What it doesn't mention is that the resulting train wreck can mangle other
sequences in the .mh_seq file as well. Also, should we change that text
to say "do not use rcvstore without an external locking mechanism'? It's
perfectly save to use it from procmail with unseen sequences as long as
procmail does the locking for you, so there's no need to scare off users.
pgpg5L_HdsT6u.pgp
Description: PGP signature
- [Nmh-workers] Pasing stdin to "inc -file" ?, Ronald F. Guilmette, 2013/02/15
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Jerrad Pierce, 2013/02/15
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Joel Uckelman, 2013/02/15
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Ronald F. Guilmette, 2013/02/15
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Ken Hornstein, 2013/02/15
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Joel Uckelman, 2013/02/16
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Ronald F. Guilmette, 2013/02/17
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?,
Valdis . Kletnieks <=
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Ken Hornstein, 2013/02/18
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Tethys, 2013/02/19
- Re: [Nmh-workers] Pasing stdin to "inc -file" ?, Ken Hornstein, 2013/02/19