procmail
[Top] [All Lists]

Re: Executing external cmds via procmail

2003-05-06 08:47:09
On Tue, May 06, 2003 at 10:48:24AM -0400, Paul Chvostek wrote:

unique per message, you probably want to lock it, so:

:0: /path/to/file.lock
#whatever
{
  :0 bwc
  /path/to/file

  :0
  /path/to/program /path/to/file
}


The lockfile should go on the delivering message, not on the
nested brace set.

        :0
        # whatever
        {
                :0 bwc:
                file

                :0 hi  # no lockfile here
                | program arg
        }

-- 
dman


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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