Re: [exim] IPv6 in route_data and route_list

Top Page
Delete this message
Reply to this message
Author: Hendrik Meyburgh
Date:  
To: Ian Zimmerman
CC: exim-users
Subject: Re: [exim] IPv6 in route_data and route_list
Hi.

I did test it an provided some samples in the original mail, here it is again.

example with route_list =<; * xxxx:yyyy:0:107:4::583
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing echo@??? <mailto:echo@testing.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering echo@??? <mailto:echo@testing.com>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing echo@??? <mailto:echo@testing.com>
--------> backscatter router <--------
local_part=echo domain=testing.com <http://testing.com/>
checking "condition" "${if and{{bool_lax{${if def:sender_address {0}{1}}}}{bool_lax{${lookup ldap {USE"...
backscatter router skipped: condition failure
--------> domain_ipv6_only router <--------
local_part=echo domain=testing.com <http://testing.com/>
checking domains
testing.com <http://testing.com/> in "*"? yes (matched "*")
calling domain_ipv6_only router
domain_ipv6_only router called for echo@??? <mailto:echo@testing.com>
domain = testing.com <http://testing.com/>
route_item = * xxxx:yyyy:0:107:4::583
testing.com <http://testing.com/> in "*"? yes (matched "*")
original list of hosts = 'xxxx:yyyy:0:107:4::583' options = ''
expanded list of hosts = 'xxxx:yyyy:0:107:4::583' options = ''
set transport domain_smtp_ipv6_transport
finding IP address for xxxx
doing DNS lookup
DNS lookup of xxxx (AAAA) gave HOST_NOT_FOUND
returning DNS_NOMATCH
DNS lookup of xxxx (A) gave HOST_NOT_FOUND
returning DNS_NOMATCH
DNS lookup failed: trying getipnodebyname

I tested it again now, here is the router config, but still the same results.
tested it again now, and just setup a new router to test with as well:
test_router:
driver = manualroute
transport = remote_smtp
route_list =<; * xxxx:yyyy:0:107:4::583

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing echo@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering echo@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing echo@???
--------> backscatter router <--------
local_part=echo domain=testing.com
checking "condition" "${if and{{bool_lax{${if def:sender_address {0}{1}}}}{bool_lax{${lookup ldap {USE"...
backscatter router skipped: condition failure
--------> test_router router <--------
local_part=echo domain=testing.com
calling test_router router
test_router router called for echo@???
domain = testing.com
route_item = * xxxx:yyyy:0:107:4::583
testing.com in "*"? yes (matched "*")
original list of hosts = ‘xxxx:yyyy:0:107:4::583' options = ''
expanded list of hosts = ‘xxxx:yyyy:0:107:4::583' options = ''
set transport remote_smtp
finding IP address for xxxx
doing DNS lookup
DNS lookup of xxxx (AAAA) gave HOST_NOT_FOUND
returning DNS_NOMATCH
DNS lookup of xxxx (A) gave HOST_NOT_FOUND
returning DNS_NOMATCH



> On 21 May 2020, at 23:54, Ian Zimmerman via Exim-users <exim-users@???> wrote:
>
> On 2020-05-20 18:01, Hendrik Meyburgh wrote:
>
>> I am running exim 4.92.3 (Tested on OpenBSD 6.6 and FreeBSD 12.1) and
>> I cannot get the correct setting for route_list or route_data for v6,
>> it keeps on trying to do a DNS lookup, replacing the IPv6 address in
>> the same router with a IPv4 address works. Example output below.
>>
>> Example with route_data = xxxx:yyyy:0:107:4::583
>
> What happens if you locally redefine the list separator, as in Spec
> section 6.21 ?
>
> --
> Ian
>
> --
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/