"Martin Schr�der" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> On 2004-08-20 08:55:57 -0500, Smart,Dan wrote:
> > If my spamc does not start (too many instances running) or does not
finish
> > (times out) what happens to the message?
> > Does it bounce, defer, or just get delivered.?
> 
> procmailrc(5):
>        w    Wait  for  the  filter or program to finish and check
>             its exitcode (normally ignored);  if  the  filter  is
>             unsuccessful,  then  the text will not have been fil�
>             tered.
> 
> The rule will not deliver so procmail continues.

OK, read the procmailrc.

So to make it requeue on a spamc failure, then the code could look like...

:0 fw
| /usr/bin/spamc

:0 e ## If previous errors, run this
{
   EXITCODE = $EX_TEMPFAIL
   HOST = "_spamc_failed_"
}

Reply via email to