procmail
[Top] [All Lists]

Re: Locks OK with {}'s?

1997-12-23 13:55:22
On Tue, 23 Dec 1997 10:20:19 -0800 (PST) Bryan Farrish wrote
Is it OK to use a lock either inside or outside of a nest, or will this 
cause problems?   Ex...

:0H:
* ^To:.*me
* ^Subject:.*subscribe
{ 
 :0B
 * subscribe
 NEW-SUBS
}

I have had troubles with explicitly named lockfiles outside of
{group}s.  Procmail gave warnings to the effect of 
"extraneous locallockfile ignored."  

A good rule of thumb is not to lock when you don't need to.
Put the lock on the actual delivering recipie inside the
{group}.
-- 
Chris Mikkelson                 
mikk0022(_at_)maroon(_dot_)tc(_dot_)umn(_dot_)edu
U of M Tuba and Student    "Life is too short for windows..."
'94-present

<Prev in Thread] Current Thread [Next in Thread>