Re: [Exim] director/transport handling errors from pipe comm…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Padraic Renaghan
CC: exim-users
Tárgy: Re: [Exim] director/transport handling errors from pipe command
On Fri, 4 Jan 2002, Padraic Renaghan wrote:

> I'm using http://razor.sf.net/ to filter out known spam. I have my first
> director setup to check that if the received protocol doesn't match "razor",
> then to accept that message and use my razor_transport. razor_transport pipes
> the mail to a perl script that calls razor and either dumps the message, or
> returns it back to exim, by invoking a new exim and setting the protocol
> to "razor".
>
> I want to set this up so that regardless of the error or response from the pipe
> command, the message is _NEVER_ returned to the sender (bounced).


Check out the "errors_to" option.

> I'm looking for a way to in effect set temp_errors to "*" so that any error
> from the command is treated as a temporary error and the message is deferred
> and delivery attempted later.


There's no way to do that, but I note the idea as one that sounds
generally useful.

> Or even better, if the director/transport combination could be configured so
> that if the transport of the razor director failed, then exim would treat this
> as if the director did not match, and continue looking for a matching director
> for the message. (in effect, skip razor director if for some reason its
> transport fails).


The design of Exim doesn't allow for that. All directing/routing happens
before any transporting.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.