On Thu, May 28, 2020 at 11:38:19AM +0200, Hendrik Meyburgh via Exim-users wrote:
> Hahaha, tried again.
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Testing echo@???
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering echo@???
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> routing echo@???
> --------> backscatter router <--------
> local_part=echo domain=gmail.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=gmail.com
> calling test_router router
> test_router router called for echo@???
> domain = gmail.com
> route_item = * <+xxxx:yyyy:0:107:4::583
> gmail.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:yyyy:0:107:4::583
It's treating the IPv6 address as a hostname, so it's trying to look
up "xxxx:yyyy:0:107:4::583" in the DNS to get its IP/IPv6 addresses.
Have you tried an IPv6 literal:
<+[xxxx:yyyy:0:107:4::583]
There is an example in the documentation that shows this:
route_list = * "</ [10.1.1.1]:1225 / [::1]:1226"
So maybe you need to quote it?
See
http://exim.org/exim-html-current/doc/html/spec_html/ch-the_manualroute_router.html#SECID120
--
Russell King