| :0 c
| * 2^0 $ ! ? $ANTIVIRUS $FILE
| * -1^0 $ NOTHING ?? ? /bin/rm $FILE
| :0 Hh
Shouldn't that be just
:0hc # no local lockfile for $HEADER?
* 2^0 ! ? $ANTIVIRUS $FILE
* -1^0 NOTHING ?? ? rm $FILE # /bin isn't in $PATH?
Cloning procmail is a lot of overhead for no gain there.
It also seems to me that, since 2-1 is just as positive as 2^N - 1, the first
condition could be
* 0^2 ? $ANTIVIRUS $FILE
but I suppose that the inversion really costs nothing (though the
exponentiation might if the exit status of f-prot is greater than 1).
procmail mailing list