Bryan Farrish asked,
| Is it OK to use a lock either inside or outside of a nest, or will this
| cause problems? Ex...
| * ^To:.*me
| * ^Subject:.*subscribe
| * subscribe
In that particular example, you should have the local lockfile on the inner
:0 # H is implicit anyway (needed only to distinguish HB from B)
A local lockfile on a recipe whose action line is to open a braced block
doesn't make sense unless you are launching a clone, and it will generate
an "extraneous locallockfile [sic] ignored" error. Meanwhile, you'd be
without a lock on the recipe that actually writes to a folder.
It should be noted that the whole thing could be done in one recipe in
versions of procmail recent enough to have the "var ??" syntax:
:0: # H is implicit
* B ?? subscribe