Re: [Exim] dnslookup router

Etusivu
Poista viesti
Vastaa
Lähettäjä: Sheldon Hearn
Päiväys:  
Vastaanottaja: Odhiambo G. Washington
Kopio: exim-users
Aihe: Re: [Exim] dnslookup router
On (2002/11/15 15:44), Odhiambo G. Washington wrote:

> lookuphost:
> driver = dnslookup
> domains = ! +local_domains
> ignore_target_hosts = 127.0.0.0/8
> transport = remote_smtp
>
> I hope this is what everyone else has, no?


Some of us are a bit more aggressive:

lookuphost:
driver = dnslookup
domains = ! +local_domains
ignore_target_hosts = /usr/local/etc/exim/unroutable-nets
transport = remote_smtp
no_more

The unroutable-nets file then contains interesting stuff like:

0.0.0.0/8
10.0.0.0/32
10.0.0.255/32
21.0.21.0/32
21.0.21.255/32
127.0.0.0/8
169.254.0.0/16

Ciao,
Sheldon.