procmail
[Top] [All Lists]

Re: EXITCODE/HOST problem

1996-11-15 16:27:28
bodysurf(_at_)netcom(_dot_)com (Tim) writes:
I am having trouble getting one of my recipes to work.  It doesn't seem 
to bounce the email (as I would expect it to).  Here's the recipe:

      :0
      * ^From.*looney
      { EXITCODE=77 HOST }
...
which doesn't work either.  The problem is is that the sender (<looney>) 
never gets a message back saying that the email was rejected on EITHER 
recipe (I didn't provide a LOGFILE for the second recipe, but can 
generate one if someone thinks that would help).  Anyone tell me what 
stupid mistake I am making :^)?


How is procmail being invoked?  If invoked from your .forward file,
and the command line ends with "|| exit 75", such as in:

        "|IFS=' ' && /usr/local/bin/procmail -Yf- || exit 75"

Then any failure to deliver will result in sendmail sending an exitcode
of 75.  Remove the "|| exit 75" bit, and try again.

Stephen, can a note about this be put on the procmail(1) manpage?

Philip

<Prev in Thread] Current Thread [Next in Thread>