procmail
[Top] [All Lists]

Re: Lockfile on $DEFAULT?

1998-06-12 12:01:51
Paul Bartlett asked,

|     If I am reading the man pages correctly, I do not need to specify a
| lockfile if delivering to $DEFAULT.  In other words, this will work:
| 
| :0
| * <_various_conditions_here_>
| $DEFAULT
| 
| without a lockfile specification.

Then you're reading them wrong, Paul.  $DEFAULT, if it's a plain folder (or
if it would be a plain folder if procmail has to create it), needs a local
lock.  If it is a directory, it doesn't need a local lock (but it must al-
ready exist).

|     Am I correct?  Usually for me $DEFAULT is the system mail spool,
| but sometimes I set it to a folder name.

Then you should use a local lockfile on it.

If procmail delivers to $DEFAULT without an explicit recipe but rather by
dint of having gotten to the end of the rcfile without final delivery, and
$DEFAULT is a plain file or does not exist yet, it uses a local lockfile.

|     (I will get any replies from the list.)

If by that you mean you don't want people to answer by sending the reply to
you and carboning the list but only by writing to the list alone, then you
should set Reply-To: on your post so that it points to the list.  If you want
something that requires extra effort, you should be the one to put it forth.

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