procmail
[Top] [All Lists]

Re: Help with lockfile (:0:)

2000-01-31 21:06:24
"W. Mark Herrick, Jr." <markh(_at_)va(_dot_)rr(_dot_)com> writes:
At 10:35 AM 01/31/00 -0600, Philip Guenther wrote:
...
2) Use a regional lockfile:
        :0:mark-relay.lock
        * !^FROM_DAEMON
        * !^FROM_MAILER
        * ^X-RR-Relay:
        {
            LOCKFILE = mark-relay.lock
            :0 c
            mark-relay
            :0
            | /usr/local/bin/bash /export/home/twabuse/relayscan.sh
            LOCKFILE
        }

Just FYI, I used solution #2, and kept on getting the extraneous lockfile 
ignored "error".

Changing it to:

:0
* !^FROM_DAEMON
* !^FROM_MAILER
* ^X-RR-Relay:
{
*snip*

...got rid of the error.

I'm assuming that the lockfile will still be there, since it was specified 
in the recipe itself?

Whoops.  Yes, it will.  I copied your original recipe and made changes,
but failed to make that one.  Mea culpa.


Philip Guenther

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