Hello,
I have a simple test example that should return the standard out of
a program into SCR but doesn't. I have no idea why. In the PERL script
I even have it sending to both STDOUT and STDERR to no avail. Here is the
.procmailrc snippet:
SHELL=/bin/sh
LOGABSTRACT=all
:0 Wi
SCR=| /u/bynum/spam/rbl-check3.pl -all
:0:
* SCR ?? .
spamtest
procmail: Unlocking "/u/bynum/.lockmail"
procmail: Assigning "SHELL=/bin/sh"
procmail: Assigning "LOGABSTRACT=all"
procmail: Executing "/u/bynum/spam/rbl-check3.pl,-all"
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"
procmail: No match on "."
procmail: Locking "/u/bynum/spam/dead.lock"
procmail: Assigning "LASTFOLDER=/u/bynum/spam/dead"
procmail: Opening "/u/bynum/spam/dead"
procmail: [1182] Mon Dec 10 11:58:22 2001
procmail: Unlocking "/u/bynum/spam/dead.lock"
From missbarrier82(_at_)BonBon(_dot_)net Tue Nov 13 02:46:13 2001
Subject: 3 Compact Cell Phones to Choose From - great calling plans 3522
Folder: /u/bynum/spam/dead 3954
procmail: Unlocking "/u/bynum/.lockmail"
As you see the program does generate output (look at the -osirusoft line)
but the variable never gets set. (Remember the same output goes to STDOUT
in addition to STDERR) The program is supposed to return non-zero in
case of a match, like above.
Can anyone tell me what I am doing wrong?
Thanks,
Mark
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail