procmail
[Top] [All Lists]

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

1997-09-09 08:19:29
        Author:        vikas(_at_)insight(_dot_)att(_dot_)com
        Original-Date: Tue, 9 Sep 1997 09:33:16 -0400
        Message-ID:    
<19970909093316(_dot_)39257(_at_)insight(_dot_)att(_dot_)com>

Try
 :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).

Checkout sysexits.h on your system to see what different exitcodes there are.

# define EX_NOUSER      67      /* addressee unknown */

is on my system.

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.

TjL