RE: [Exim] @mx_any/ignore & route_list interpretation

Etusivu
Poista viesti
Vastaa
Lähettäjä: Eli
Päiväys:  
Vastaanottaja: exim-users
Aihe: RE: [Exim] @mx_any/ignore & route_list interpretation
Philip Hazel wrote:
> On Thu, 24 Jun 2004, Eli wrote:
>
>> Yeah that's what I had read as well (obviously), but I'm still
>> wondering why running Exim in -d debug mode appears to show Exim
>> trying to do a DNS lookup on the IP addresses
>
> Evidence, please. It should not do that.


I don't know if it really is doing a lookup or not. I'm just assuming it is
based on the output I see when it says it's trying to look up the IP for it.
First here's the router:

manual_address:
        driver                  = manualroute
        domains                 = +treat_as_local
        ignore_target_hosts     = 0.0.0.0 : 127.0.0.0/8
        cannot_route_message    = The domain $domain is not local
        route_list              = *
10.1.0.100:10.1.0.101:10.1.0.102:10.1.0.103 randomize
        transport               = manual_delivery
        more                    = no



Next, here's -d+all when it does the route_list stuff:

12:39:32 19267 calling manual_address router
12:39:32 19267 manual_address router called for test@???
12:39:32 19267   domain = example.fake
12:39:32 19267 ---0 Get 0x80f32c0   104       string.c  852
12:39:32 19267 route_item = * 10.1.0.100:10.1.0.101:10.1.0.102:10.1.0.103
randomize
12:39:32 19267 ---0 Get 0x80f3328     8       string.c  526
12:39:32 19267 ---0 Get 0x80f3330    48       string.c  526
12:39:32 19267 ---0 Get 0x80f3360    16       string.c  383
12:39:32 19267 ---0 Get 0x80f3370    24       string.c  345
12:39:32 19267 example.fake in "*"? yes (matched "*")
12:39:32 19267 original list of hosts =
"10.1.0.100:10.1.0.101:10.1.0.102:10.1.0.103" options = randomize
12:39:32 19267 ---0 Get 0x80f3388    48       string.c  345
12:39:32 19267 expanded list of hosts =
"10.1.0.100:10.1.0.101:10.1.0.102:10.1.0.103" options = randomize
12:39:32 19267 set transport manual_delivery
12:39:32 19267 ---0 Get 0x80f33b8    40         host.c  131
12:39:32 19267 ---0 Get 0x80f33e0    16       string.c  345
12:39:32 19267 ---0 Get 0x80f33f0    40         host.c  131
12:39:32 19267 ---0 Get 0x80f3418    16       string.c  345
12:39:32 19267 ---0 Get 0x80f3428    40         host.c  131
12:39:32 19267 ---0 Get 0x80f3450    16       string.c  345
12:39:32 19267 ---0 Get 0x80f3460    40         host.c  131
12:39:32 19267 ---0 Get 0x80f3488    16       string.c  345
12:39:32 19267 finding IP address for 10.1.0.102
12:39:32 19267 calling host_find_byname
12:39:32 19267 ---0 Get 0x80f3498    16       string.c  345
12:39:32 19267 ---0 Get 0x80f34a8    40       string.c  345
12:39:32 19267 10.1.0.102 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
12:39:32 19267 ---0 Get 0x80f34d0    16       string.c  383
12:39:32 19267 ---0 Get 0x80f34e0    16       string.c  383
12:39:32 19267 ---0 Get 0x80f34f0    40       string.c  345
12:39:32 19267 10.1.0.102 in hosts_treat_as_local? no (end of list)
12:39:32 19267 fully qualified name = 10.1.0.102
12:39:32 19267 gethostbyname looked up these IP addresses:
12:39:32 19267   name=10.1.0.102 address=10.1.0.102
12:39:32 19267 finding IP address for 10.1.0.100
12:39:32 19267 calling host_find_byname
12:39:32 19267 ---0 Get 0x80f3518    16       string.c  345
12:39:32 19267 ---0 Get 0x80f3528    40       string.c  345
12:39:32 19267 10.1.0.100 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
12:39:32 19267 ---0 Get 0x80f3550    16       string.c  383
12:39:32 19267 ---0 Get 0x80f3560    16       string.c  383
12:39:32 19267 ---0 Get 0x80f3570    40       string.c  345
12:39:32 19267 10.1.0.100 in hosts_treat_as_local? no (end of list)
12:39:32 19267 fully qualified name = 10.1.0.100
12:39:32 19267 gethostbyname looked up these IP addresses:
12:39:32 19267   name=10.1.0.100 address=10.1.0.100
12:39:32 19267 finding IP address for 10.1.0.101
12:39:32 19267 calling host_find_byname
12:39:32 19267 ---0 Get 0x80f3598    16       string.c  345
12:39:32 19267 ---0 Get 0x80f35a8    40       string.c  345
12:39:32 19267 10.1.0.101 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
12:39:32 19267 ---0 Get 0x80f35d0    16       string.c  383
12:39:32 19267 ---0 Get 0x80f35e0    16       string.c  383
12:39:32 19267 ---0 Get 0x80f35f0    40       string.c  345
12:39:32 19267 10.1.0.101 in hosts_treat_as_local? no (end of list)
12:39:32 19267 fully qualified name = 10.1.0.101
12:39:32 19267 gethostbyname looked up these IP addresses:
12:39:32 19267   name=10.1.0.101 address=10.1.0.101
12:39:32 19267 finding IP address for 10.1.0.103
12:39:32 19267 calling host_find_byname
12:39:32 19267 ---0 Get 0x80f3618    16       string.c  345
12:39:32 19267 ---0 Get 0x80f3628    40       string.c  345
12:39:32 19267 10.1.0.103 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
12:39:32 19267 ---0 Get 0x80f3650    16       string.c  383
12:39:32 19267 ---0 Get 0x80f3660    16       string.c  383
12:39:32 19267 ---0 Get 0x80f3670    40       string.c  345
12:39:32 19267 10.1.0.103 in hosts_treat_as_local? no (end of list)
12:39:32 19267 fully qualified name = 10.1.0.103
12:39:32 19267 gethostbyname looked up these IP addresses:
12:39:32 19267   name=10.1.0.103 address=10.1.0.103
12:39:32 19267 queued for manual_delivery transport: local_part = test
12:39:32 19267 domain = example.fake
12:39:32 19267   errors_to=NULL
12:39:32 19267   domain_data=NULL localpart_data=NULL
12:39:32 19267 routed by manual_address router
12:39:32 19267   envelope to: test@???
12:39:32 19267   transport: manual_delivery
12:39:32 19267   host 10.1.0.102 [10.1.0.102] rgroup=-2
12:39:32 19267   host 10.1.0.100 [10.1.0.100] rgroup=-2
12:39:32 19267   host 10.1.0.101 [10.1.0.101] rgroup=-2
12:39:32 19267   host 10.1.0.103 [10.1.0.103] rgroup=-2