Re: [Exim] Routing after permanent failures

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: David John SUMMERS
Cc: exim-users
Asunto: Re: [Exim] Routing after permanent failures
On Wed, 15 Mar 2000, David John SUMMERS wrote:

> The question is how
> I force the email onto the smart host router after the email has
> permanently failed after a direct delivery attempt; what I seem to want
> is a way to make the router fail soft rather than giving a permanent
> error, then the smart host router could cope with the email.


It isn't the router that fails; it is the transport that fails, and by
that time all the routing has been done. You can't get back to the
routers after entering the tranporting phase of delivery.

> 250 venus.dur.ac.uk Hello cpta7.dur.ac.uk [129.234.9.56], pleased to
> meet you
> mail from: d.j.summers@???
> 550 e-mail may not be submitted directly to this host


Perverse. Why does it listen on port 25 then? (That's rhetorical - don't
answer!)

> Thanks in advance for any suggestions people have.


All I can suggest is that you build up a list of domains that suffer
from this problem - i.e. *must* go to the smart host. Then exclude them
from the general router:

direct_routing:
driver = lookuphost
domains = !dom1 : !dom2 : !dom3 ....
transport = remote_smtp

smart_routing:
driver = domainlist
transport = remote_smtp
route_list = * smart.host.name byname

... or something like that.

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