procmail
[Top] [All Lists]

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

1997-09-09 13:38:45
Date: Tue, 9 Sep 1997 11:31:25 -0500
From: wwgrol(_at_)sparc01(_dot_)fw(_dot_)hac(_dot_)com (W. Wesley Groleau 
x4923)
Subject: Re: Exitcode changes to zero when I asked for 67 ?

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

My understanding is that it's not a delivery recipe, it's a block
opener.  It merely conditionalizes the execution of the recipes in the
block.  If no recipes in the block deliver the message, then procmail
continues after the block.  Given that the block has no recipes in it,
you are guaranteed to fall out of the block (unless you escape with a
trick like the HOST= assertion).

-- 
A straight line may be the shortest distance between two points, but it is by
no means the most interesting.  -- The Doctor