Re: [Exim] verify/callout again

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Phil Chambers
CC: exim-users
Assumpte: Re: [Exim] verify/callout again
On Fri, 6 Sep 2002, Phil Chambers wrote:

> I will not clog things up by giving a complete listing of the exim -d
> -bh output, but what follows is what seems to me to be the critical
> bits (the recipient address is "admin@excc"):


>   routed by local_domains router
>     envelope to: admin@???
>     transport: local_smtp


Notice: there are no hosts listed there. You have not routed the address
to any hosts. Therefore, no callout can happen.

>   local_smtp:
>     driver = smtp
>     gethostbyname
>     hosts = ${lookup{${domain}>}cdb{/usr/local/exim/local-domains.db}{$value}fail}
>     hosts_override
>     no_multi_domain


If you want callout to happen, you must arrange for the hosts to be set
up by the router, not by the transport. A transport is not run while
verifying. Change your local_domains router to one that routes to hosts
(presumably, a manualroute router).

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