HDEBUG(D_host_lookup)
{
uschar **aliases = sender_host_aliases;
- debug_printf("IP address lookup yielded %s\n", sender_host_name);
- while (*aliases != NULL) debug_printf(" alias %s\n", *aliases++);
+ debug_printf("IP address lookup yielded \"%s\"\n", sender_host_name);
+ while (*aliases != NULL) debug_printf(" alias \"%s\"\n", *aliases++);
}
/* We need to verify that a forward lookup on the name we found does indeed
expanding: ----> No lookup yet: ${if eq{black}{white}{$sender_host_name}{No}}
result: ----> No lookup yet: No
looking up host name for V4NET.0.0.1
-IP address lookup yielded ten-1.test.ex
+IP address lookup yielded "ten-1.test.ex"
using host_fake_gethostbyname for ten-1.test.ex (IPv4)
MUNGED: ::1 will be omitted in what follows
get[host|ipnode]byname[2] looked up these IP addresses:
looking up host name for V4NET.0.0.1
DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) using fakens
DNS lookup of 1.0.0.V4NET.in-addr.arpa (PTR) succeeded
-IP address lookup yielded ten-1.test.ex
+IP address lookup yielded "ten-1.test.ex"
using host_fake_gethostbyname for ten-1.test.ex (IPv4)
DNS lookup of ten-1.test.ex (A) using fakens
DNS lookup of ten-1.test.ex (A) succeeded
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "10.250.104.0/21")
>>> looking up host name for 10.250.104.42
->>> IP address lookup yielded manyhome.test.ex
+>>> IP address lookup yielded "manyhome.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=manyhome.test.ex address=10.250.104.0
>>> check verify = reverse_host_lookup
>>> looking up host name to force name/address consistency check
>>> looking up host name for V4NET.0.0.3
->>> IP address lookup yielded ten-3.test.ex
->>> alias ten-3-alias.test.ex
+>>> IP address lookup yielded "ten-3.test.ex"
+>>> alias "ten-3-alias.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-3.test.ex address=V4NET.0.0.3
>>> check hosts = +relay_hosts
>>> sender host name required, to match against *-2.test.ex
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> check hosts = +relay_hosts
>>> sender host name required, to match against *-2.test.ex
>>> looking up host name for V4NET.0.0.2
->>> IP address lookup yielded ten-2.test.ex
+>>> IP address lookup yielded "ten-2.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-2.test.ex address=V4NET.0.0.2
>>> check hosts = +relay_hosts
>>> sender host name required, to match against *-2.test.ex
>>> looking up host name for V4NET.0.0.3
->>> IP address lookup yielded ten-3.test.ex
->>> alias ten-3-alias.test.ex
+>>> IP address lookup yielded "ten-3.test.ex"
+>>> alias "ten-3-alias.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-3.test.ex address=V4NET.0.0.3
>>> check hosts = +relay_hosts
>>> sender host name required, to match against ^[^\d]+2
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> check hosts = +relay_hosts
>>> sender host name required, to match against ^[^\d]+2
>>> looking up host name for V4NET.0.0.2
->>> IP address lookup yielded ten-2.test.ex
+>>> IP address lookup yielded "ten-2.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-2.test.ex address=V4NET.0.0.2
>>> check hosts = +relay_hosts
>>> sender host name required, to match against lsearch;TESTSUITE/aux-fixed/0064.hosts
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> check hosts = +relay_hosts
>>> sender host name required, to match against lsearch;TESTSUITE/aux-fixed/0064.hosts
>>> looking up host name for V4NET.0.0.2
->>> IP address lookup yielded ten-2.test.ex
+>>> IP address lookup yielded "ten-2.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-2.test.ex address=V4NET.0.0.2
>>> name=ten-3.test.ex address=V4NET.0.0.3
>>> sender host name required, to match against *-1.test.ex
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> host in host_reject_connection? no (option unset)
>>> sender host name required, to match against ^ten-1\.test\.ex
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> ten-1.test.ex in helo_lookup_domains? no (end of list)
>>> verifying EHLO/HELO argument "ten-1.test.ex"
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> ten-3.test.ex in helo_lookup_domains? no (end of list)
>>> verifying EHLO/HELO argument "ten-3.test.ex"
>>> looking up host name for V4NET.0.0.3
->>> IP address lookup yielded ten-3.test.ex
->>> alias ten-3-alias.test.ex
+>>> IP address lookup yielded "ten-3.test.ex"
+>>> alias "ten-3-alias.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-3.test.ex address=V4NET.0.0.3
>>> rhubarb in helo_lookup_domains? no (end of list)
>>> verifying EHLO/HELO argument "rhubarb"
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> host in host_reject_connection? no (option unset)
>>> sender host name required, to match against *N-99.test.EX
>>> looking up host name for V4NET.0.0.99
->>> IP address lookup yielded ten-99.test.ex
+>>> IP address lookup yielded "ten-99.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-99.test.ex address=V4NET.0.0.99
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "0.0.0.0/0")
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
looking up host name for V4NET.99.99.90
DNS lookup of 90.99.99.V4NET.in-addr.arpa (PTR) using fakens
DNS lookup of 90.99.99.V4NET.in-addr.arpa (PTR) succeeded
-IP address lookup yielded oneback.test.ex
- alias host1.masq.test.ex
+IP address lookup yielded "oneback.test.ex"
+ alias "host1.masq.test.ex"
using host_fake_gethostbyname for oneback.test.ex (IPv4)
DNS lookup of oneback.test.ex (A) using fakens
DNS lookup of oneback.test.ex (A) succeeded
>>> host in helo_accept_junk_hosts? no (option unset)
>>> myhost.test.ex in helo_lookup_domains? yes (matched "@")
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> host in helo_accept_junk_hosts? no (option unset)
>>> [127.0.0.1] in helo_lookup_domains? yes (matched "@[]")
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
>>> check hosts = *.test.ex
>>> sender host name required, to match against *.test.ex
>>> looking up host name for V4NET.0.0.1
->>> IP address lookup yielded ten-1.test.ex
+>>> IP address lookup yielded "ten-1.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=ten-1.test.ex address=V4NET.0.0.1
looking up host name for V4NET.99.99.97
DNS lookup of 97.99.99.V4NET.in-addr.arpa (PTR) using fakens
DNS lookup of 97.99.99.V4NET.in-addr.arpa (PTR) succeeded
-IP address lookup yielded x.gov.uk.test.ex
- alias x.co.uk.test.ex
+IP address lookup yielded "x.gov.uk.test.ex"
+ alias "x.co.uk.test.ex"
using host_fake_gethostbyname for x.gov.uk.test.ex (IPv4)
DNS lookup of x.gov.uk.test.ex (A) using fakens
DNS lookup of x.gov.uk.test.ex (A) succeeded
>>> host in hosts_connection_nolog? no (option unset)
>>> host in host_lookup? yes (matched "*")
>>> looking up host name for V6NET:1234:0005:0006:0007:0008:0abc:000d
->>> IP address lookup yielded test3.ipv6.test.ex
+>>> IP address lookup yielded "test3.ipv6.test.ex"
MUNGED: ::1 will be omitted in what follows
>>> get[host|ipnode]byname[2] looked up these IP addresses:
>>> name=test3.ipv6.test.ex address=V6NET:1234:5:6:7:8:abc:d
looking up host name for ip4.ip4.ip4.ip4
DNS lookup of ip4-reverse.in-addr.arpa (PTR) using fakens
DNS lookup of ip4-reverse.in-addr.arpa (PTR) succeeded
-IP address lookup yielded the.local.host.name
+IP address lookup yielded "the.local.host.name"
using host_fake_gethostbyname for the.local.host.name (IPv4)
DNS lookup of the.local.host.name (A) using fakens
DNS lookup of the.local.host.name (A) succeeded