In message
<20130216223055(_dot_)9B6AF360A03(_at_)charybdis(_dot_)ellipsis(_dot_)cx>,
Joel Uckelman <uckelman(_at_)nomic(_dot_)net> wrote:
Thus spake "Ronald F. Guilmette":
For example, I've had this spam-filing recipe in my .procmailrc for ages:
:0w: Mail/sp/$LOCKEXT
* ^X-Bogosity: Spam, tests=bogofilter
| /usr/libexec/nmh/rcvstore +sp
Can you help me to understand the first line of that?
Obviously, based on what I already posted, I _do_ understand the initial
":0" part of that, and I just looked man the procmailrc man page and now
I have learned about the 'w" part. But what's that other colon doing in
there? And what is the significance of "Mail/sp/$LOCKEXT" ?
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.
The man page for procmailrc(5) is how I learned about this in the first
place.
Thank you. This has all been distinctly enlightening.
Regards,
rfg
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers