Re: [Exim] dnslookup router

Pàgina inicial
Delete this message
Reply to this message
Autor: Sheldon Hearn
Data:  
A: Odhiambo G. Washington
CC: exim-users
Assumpte: 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.