nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Pasing stdin to "inc -file" ?


From: Ronald F. Guilmette
Subject: Re: [Nmh-workers] Pasing stdin to "inc -file" ?
Date: Sun, 17 Feb 2013 13:16:03 -0800

In message <address@hidden>, 
Joel Uckelman <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]