Re: [Exim] Exim+SA: spamc non-0 exit when spamd is down = tr…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: Rich, WhidbeyNet NOC
CC: exim-users
Sujet: Re: [Exim] Exim+SA: spamc non-0 exit when spamd is down = transport_filter panic
Rich, WhidbeyNet NOC wrote:

> We need it to be delivered, just unscanned, if spamd dies. This is the
> same problem brought up last month:
>
> http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20021125/046735
> .html
>
> There was apparently no solution given from either list.
>
> One solution could be to modify "libspamc.c" to EX_OK if it can't
> connect to spamd. Since spamc has a safe-fail mechanism, shouldn't that
> be fine?
>
> Another solution might be to modify Exim to apply "temp_errors" to the
> transport_filter command. Wouldn't that be best, for the same reasons
> "temp_errors" is used for the main pipe "command"?
>
> There's bound to be other solutions. Has someone already solved this?
> How do you keep your mail flowing, when spamd dies, besides bandaids
> like process checkers? Maybe I'm all wrong about this.


You forgot the third, and IMHO most obvious solution. just use a
wrapper-script, which catches the errors from spamc.

ciao