procmail
[Top] [All Lists]

Re: Exitcode changes to zero when I asked for 67 ?

1997-09-09 09:40:37

 :0
* conditions
{ EXITCODE=67 }

Hmm.. what will this do? Since there is no f or c on the recipe, this will
simply assign EXITCODE=67 and go on to the next recipe or will it return
back to sendmail? And by the way, what exactly does the magic '67' tell
sendmail to do?

Well, since it doesn't filter and it doesn't clone, it must deliver. (ie it  
does not go to the next recipe).

That was my logic, too.  But it _does_ go on to the next recipe.

Checkout sysexits.h on your system to see what different exitcodes there are.
# define EX_NOUSER    67      /* addressee unknown */
is on my system.

Here, too.  I guess I intended 77 - permission denied

Note that unless procmail is LDA for sendmail. the bounce message may  
include the contents of your .forward which you might not want to give away.

Ouch.  Forgot about that.