I was hoping someone on this list could give me a hand with setting up a
recipe. What I want to do is this:
I want procmail to run a perl script. If the exit code of the script is
0 then do nothing (i.e stick the message is INBOX). If the exit code of
the script is 1 then stick the message in a different folder. One catch
is that I have to have the senders email address as a command line
parameter for the perl script.
this is what I have so far
FROM=`$FORMAIL -rt -xTo:`
:0 w
| perlscript $FROM
IN.unknown
is there a way to make this work? it seemas like the from line
doesnt work wither thanks
-dj