procmail
[Top] [All Lists]

Re: actual problem.

2002-06-13 02:53:23
Just a minor change to what I said, and an extra explanation:

I said:

  :0 : script.lock
  {
    :0 c:
    /tmp/$TIME

There's no need for the local lockfile on the sub-recipe, of course,
since there's already a lock set.  Slightly more efficient is:

  :0 : script.lock
  {
    :0 c
    /tmp/$TIME
  ...

  FILENAME=/tmp/scriptmail-$$
  :0 c
  $FILENAME
  :0 c
  | EX_SCRIPT....$FILENAME

And lock files are not needed here if you know that the names are going
to be unique.

Regards,
Martin
-- 
Martin McCarthy                 /</    http://procmail.non-prophet.org
    `Procmail Companion'        \>\
     Addison Wesley             /</                  PGP key available
_______________________________________________
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>