Re: [Exim] Mail delivery failed: returning message to sender…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Suresh Ramasubramanian
CC: exim-users
Tárgy: Re: [Exim] Mail delivery failed: returning message to sender (fwd)
On Sun, 11 Mar 2001, Suresh Ramasubramanian wrote:

> # This router routes to remote hosts over SMTP using a DNS lookup with
> # default options.
>
> route_append:
> driver=domainlist
> transport=remote_smtp
> route_list="* hydmr.bplnet.com byname"
> lookuphost:
> driver = lookuphost
> transport = remote_smtp

<snip>
> Now my question (probably in the FAQ but I'm considerably decaffeinated, so
> would appreciate a pointer) is how to turn off DNS lookups locally while
> passing the mail to a smarthost (to speed up things locally, as the smarthost
> will anyway do its own dns lookups before delivery)


The only DNS lookup that that configuration will do is for hydmr.bplnet.com
and then only if your operating system goes to the DNS from gethosbyname().
You could prevent even that by using an IP address instead of the
smarthost name.

[Note that the second router (lookuphost) will never be run, because the
first one matches every domain.]

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