Hello,
I'm trying to include ifile (for spam filtering) into procmail, but have no
success. When trying my setup from command line, it works. But when used in
.procmailrc, return code is always 1. Why?
Iin .procmailrc I have:
:0w
* ? dm
spam
Script dm:
#!/bin/sh
if [ `/usr/local/bin/ifile -q -v 0 | /usr/bin/head -1 | /usr/bin/awk '{print
$1}'` = "spam" ]; then
exit 0
else
exit 1
fi
What's wrong with this setup? Could you please help me?
Thanks
lk
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail