:0 Wi
SCR=| /u/bynum/spam/rbl-check3.pl -all
The W says to wait and see what the program exit code is. An exit code
of 0 is success. Anything else is failure.
procmail: Assigning "SCR="
-osirusoft returns 127.0.0.2 for 198.5.241.40, mail is probably spam.
procmail: Non-zero exitcode (25) from "/u/bynum/spam/rbl-check3.pl"
Your Perl script returned 25 - failure. So the variable didn't get
assigned. I'll assume that an exitcode of 25 doesn't *really* mean
failure to you.
A number of possibilities:
- if you don't need to wait for the program to finish, remove the W
flag;
- if you do need to wait, change the script to exit with 0 in the case
where it is exiting with 25;
- if you want the script to exit with 25. AND wait for it to finish, AND
set the variable, you could do something like:
:0 Wi
SCR=| /u/bynum/spam/rbl-check3.pl -all && true
and the 'true' will make procmail think that everything went well,
whatever *really* happened.
Hope that helps,
Martin
--
Martin McCarthy /</ PGP key available
`Procmail Companion' \>\ http://www.ancient-scotland.co.uk
Addison Wesley /</ http://www.ehabitat.demon.co.uk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail