On Fri, Aug 23, 2002 at 02:56:59PM -0700, Andrew Edelstein wrote:
Suppose I have a utility named bogofilter that tests its standard input and
returns 0 for spam, 1 for nonspam, How do I write a recipe that
directs mail getting a 1 return value to a spam box?
Since you want it to trigger on a 1 exit status (program failure / false),
invert the condition with !.
Brain fart moment. Somehow I mentally inverted your expected exit status and
instructed to invert the condition...
--
Andrew Edelstein - http://andrew.pure-chaos.com/resume.txt
Please do not reply directly to me, or Cc: me on a reply to a list message.
I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail