"Matt Garretson" <mattg(_at_)assembly(_dot_)state(_dot_)ny(_dot_)us> writes:
A while back i posted about how mis-setting the HOST variable
wasn't causing procmail 3.22 to abort processing as expected.
As the issue came up again today in another new recipe, i
took a closer look, and found that rcfile processing does
indeed seem to be stopping immediately, but the message
is also getting delivered to $DEFAULT. I'm pretty sure
that's not the documented behavior. Is there something i'm
missing?
It would have helped if you had mentioned that this was from the
/etc/procmailrc file. Here's a patch.
Philip Guenther
Procmail Maintainer
*** src/procmail.c Mon Sep 10 21:59:14 2001
--- src/procmail.c Thu Feb 28 00:17:21 2002
***************
*** 440,446 ****
verbose=0; /* no peeking in /etc/procmailrc */
#endif
eputenv(defspath,buf); /* use the secure PATH */
! if(mainloop()==rcs_DELIVERED) /* run the rcfile */
goto mailed;
eputenv(defpath,buf); /* switch back to the insecure PATH */
}
--- 440,446 ----
verbose=0; /* no peeking in /etc/procmailrc */
#endif
eputenv(defspath,buf); /* use the secure PATH */
! if(mainloop()!=rcs_EOF) /* run the rcfile */
goto mailed;
eputenv(defpath,buf); /* switch back to the insecure PATH */
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail