Re: [exim] Consider local_domains only if DNS matches

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Thomassen
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Consider local_domains only if DNS matches
Phil Pennock wrote:
> Then, before sending away, ignore_target_hosts strips out any addresses
> which might result in trying to send it back to ourselves; this includes
> the loopback block 127/8 and also the 0/8 network because historically
> 0/{8..24} have had special meaning and can end up effectively being a
> local network, with 0.0.0.0 being the local host.


What happens then if the only MX points to 127.0.0.1? ;-)

Thank you for your first class support ;-), everything works great now using
this:

dnslookup_not_yet_hosted:
  debug_print = "R: dnslookup_not_yet_hosted for $local_part@$domain"
  driver = dnslookup
  domains = ! @mx_any/ignore=<;127.0.0.1;::1
  transport = remote_smtp
  same_domain_copy_routing = yes
  # ignore private rfc1918 and APIPA addresses
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
                        172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
                        255.255.255.255


The ignore_target_hosts line is from Debian's dnslookup router.

Peter