Re: [Exim] Mail loop

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Anjan Sen
CC: exim-users
Subject: Re: [Exim] Mail loop
On Thu, 18 Jul 2002, Anjan Sen wrote:

> lookuphost:
>    driver = dnslookup
>    domains = ! +local_domains
>    ignore_target_hosts = 127.0.0.0/8
>    transport = remote_smtp
>    pass_on_timeout
>    no_more

>
> dns_timeout:
>    driver = manualroute
>    transport = remote_smtp
>    route_list = * mail-gw2.hursley.ibm.com
>    no_more

>
> Now, this was all OK except for the fact that incoming mail for domains in
> +local_domains was being passed by lookuphost: to dns_timeout: because of
> the "! +local_domains" line.


So, why did you not put that line on the dns_timeout router as well?

> When I took that line out, a mail loop
> resulted. Could someone please explain why a mail loop should have
> happened? I can't see what's wrong.


Did you test with -bt or -bt -d to get debugging output?


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