Re: [exim] Is there a way to automatically resend email thro…

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Stephen Gran
CC: exim-users
Assumpte: Re: [exim] Is there a way to automatically resend email through different gateway?
On Sun, 5 Feb 2006, Stephen Gran wrote:

> On Sun, Feb 05, 2006 at 01:39:45AM +0100, Stanislaw Halik said:
> > Adam Funk <adam00f@???> wrote:
> > > I propose for the wishlist a router option that would allow Exim to
> > > pass on to the next router if the text accompanying a 5yz error
> > > matches a specified regexp. This would provide the function that
> > > Daevid and I (and others) have enquired about: trying to route mail
> > > directly, but sending it through a manualroute if that is rejected
> > > because of an RBL.


This WishList suggestion is impossible to implement. Control cannot be
given back to the routers after Exim has entered the transport phase.
Remember: all the routing happens before any of the transporting.
Fallback hosts would be the only practical possibility.

However, I am in full agreement with Stephen when he writes:

> However, asking exim to do this will violate so many normative
> standards of mail handling I am just not sure it's a good idea. A 5xx
> is a permanent reject and should be considred so ... I am sorry, but
> the wish to work around a permanent failure just seems like a bad
> idea. It is just so fundamental to the basic concepts of SMTP
> handling that I can't imagine the good outweighing the bad.



-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book