Rado,
No, because it applies to a "|" not a file. Since there is no
implicit lockfile for pipes, you have to specify one.
There is, and you don't: if the pipe has the ">>" append redirector in
it, there is a default local lockfile name of the next word after ">>"
plus $LOCKEXT.
| printf "\n%s\n\n" $LASTFOLDER >> $LOGFOLDER
includes the ">>" redirector. The implicit name for a local lockfile is
$LOGFOLDER$LOCKEXT just as the procmailrc(5) man page says.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail