procmail
[Top] [All Lists]

Re: Combining Recipes into One

1997-04-23 10:00:00
era eriksson <reriksso(_at_)cc(_dot_)helsinki(_dot_)fi> writes:
On Wed, 23 Apr 1997 19:27:31 +0900 (JST),
Michael Fahey <michael(_at_)east(_dot_)ncc(_dot_)go(_dot_)jp> wrote:
On a related note, what are the pros and cons of using (not using) a lock
file for mail routed to your system mailbox (eg to /var/mail/user via
$DEFAULT or $ORGMAIL)?

It appears that Procmail is locking automatically in this case, based
on some heuristic, irrespective of the locking flag on the recipe. 
 (DEFAULT=/dev/null doesn't lock, DEFAULT=$HOME/scratch/tmp.out does
use a kernel lock on the system I'm on.)

If procmail was compiled to use kernel locking, it will *always* use
kernel locking writing to a file, regardless of whether a locallockfile
was specified, period.  For the implicit delivery to $DEFAULT, a
locallockfile is used except when DEFAULT is either /dev/null or "|".

Philip Guenther

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