procmail
[Top] [All Lists]

Evaluating result of shell command

2009-08-23 22:37:17
Below is an extract of a recipe. It doesn't work, and I know why but don't know how to express my intention.

For the 3rd/4th lines, what I want to say is, "Pipe the message to this program, but only if you have execute permission".

        :0 fw
        * $     < ${SpamCheckMaxSize}
        * $?    test -x ${SpamCheckProg}
        | ${SpamCheckProg}

How should I do this?

Many thanks,
Steve
____________________________________________________________
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

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