diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-11 18:20:41 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-02-11 22:12:59 +0000 |
commit | 2546388c27720eaaada4bb63574ba1f32e6ddf4e (patch) | |
tree | 78228d1943e8de0d57c5286f402f4de362d27c7c /test | |
parent | 0aaf76a49ec6e788d56b3b2100436f3641284532 (diff) |
DNS: return explicit error code to caller on dnssec failure, for better logging
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/4800-dnssec-dnslookup/4801 | 2 | ||||
-rw-r--r-- | test/stderr/0368 | 4 | ||||
-rw-r--r-- | test/stderr/0419 | 2 | ||||
-rw-r--r-- | test/stderr/0499 | 4 | ||||
-rw-r--r-- | test/stderr/4801 | 6 | ||||
-rw-r--r-- | test/stdout/4801 | 6 |
6 files changed, 9 insertions, 15 deletions
diff --git a/test/scripts/4800-dnssec-dnslookup/4801 b/test/scripts/4800-dnssec-dnslookup/4801 index 30ba44ed0..491080e0d 100644 --- a/test/scripts/4800-dnssec-dnslookup/4801 +++ b/test/scripts/4800-dnssec-dnslookup/4801 @@ -5,7 +5,7 @@ exim -bt user@mx-unsec-a-unsec.test.ex 1 exim -bt user@mx-unsec-a-sec.test.ex **** -2 +1 exim -bt user@mx-sec-a-unsec.test.ex **** exim -bt user@mx-sec-a-sec.test.ex diff --git a/test/stderr/0368 b/test/stderr/0368 index a02088556..cdeaf2cb7 100644 --- a/test/stderr/0368 +++ b/test/stderr/0368 @@ -3,14 +3,14 @@ configuration file is TESTSUITE/test-config admin user discarded duplicate host ten-1.test.ex (MX=8) fully qualified name = mxt9.test.ex -host_find_bydns yield = HOST_FOUND (2); returned hosts: +host_find_bydns yield = HOST_FOUND (3); returned hosts: ten-1.test.ex V4NET.0.0.1 MX=5 ten-2.test.ex V4NET.0.0.2 MX=6 ten-3.test.ex V4NET.0.0.3 MX=7 duplicate IP address V4NET.0.0.5 (MX=5) removed duplicate IP address V4NET.0.0.6 (MX=6) removed fully qualified name = mxt14.test.ex -host_find_bydns yield = HOST_FOUND (2); returned hosts: +host_find_bydns yield = HOST_FOUND (3); returned hosts: ten-5-6.test.ex V4NET.0.0.5 MX=4 ten-5-6.test.ex V4NET.0.0.6 MX=4 finding IP address for ten-1.test.ex diff --git a/test/stderr/0419 b/test/stderr/0419 index 5fc95009c..37bab88f2 100644 --- a/test/stderr/0419 +++ b/test/stderr/0419 @@ -37,7 +37,7 @@ local host in host list - removed hosts: other2.test.ex V4NET.12.3.2 5 other2.test.ex V4NET.12.3.1 5 fully qualified name = mxt13.test.ex -host_find_bydns yield = HOST_FOUND (2); returned hosts: +host_find_bydns yield = HOST_FOUND (3); returned hosts: other1.test.ex V4NET.12.4.5 MX=4 set transport smtp queued for smtp transport: local_part = k diff --git a/test/stderr/0499 b/test/stderr/0499 index 2ecd699aa..6435e8fc1 100644 --- a/test/stderr/0499 +++ b/test/stderr/0499 @@ -21,7 +21,7 @@ DNS lookup of mxt1.test.ex (MX) succeeded DNS lookup of eximtesthost.test.ex (A) using fakens DNS lookup of eximtesthost.test.ex (A) succeeded local host has lowest MX -host_find_bydns yield = HOST_FOUND_LOCAL (3); returned hosts: +host_find_bydns yield = HOST_FOUND_LOCAL (4); returned hosts: eximtesthost.test.ex ip4.ip4.ip4.ip4 MX=5 mxt1.test.ex in "@mx_any"? yes (matched "@mx_any") mxt1.test.ex in "+anymx"? yes (matched "+anymx") @@ -31,7 +31,7 @@ DNS lookup of mxt1.test.ex (MX) succeeded DNS lookup of eximtesthost.test.ex (A) using fakens DNS lookup of eximtesthost.test.ex (A) succeeded local host has lowest MX -host_find_bydns yield = HOST_FOUND_LOCAL (3); returned hosts: +host_find_bydns yield = HOST_FOUND_LOCAL (4); returned hosts: eximtesthost.test.ex ip4.ip4.ip4.ip4 MX=5 mxt1.test.ex in "@mx_any"? yes (matched "@mx_any") mxt1.test.ex in "+anymx"? yes (matched "+anymx") diff --git a/test/stderr/4801 b/test/stderr/4801 deleted file mode 100644 index 4a9d58975..000000000 --- a/test/stderr/4801 +++ /dev/null @@ -1,6 +0,0 @@ -LOG: host_lookup_failed MAIN - dnssec fail on MX for mx-unsec-a-unsec.test.ex -LOG: host_lookup_failed MAIN - dnssec fail on MX for mx-unsec-a-sec.test.ex -LOG: host_lookup_failed MAIN - dnssec fail on A for a-unsec.test.ex diff --git a/test/stdout/4801 b/test/stdout/4801 index fe6d359a2..25d83a182 100644 --- a/test/stdout/4801 +++ b/test/stdout/4801 @@ -1,6 +1,6 @@ -user@mx-unsec-a-unsec.test.ex cannot be resolved at this time: host lookup did not complete -user@mx-unsec-a-sec.test.ex cannot be resolved at this time: host lookup did not complete -user@mx-sec-a-unsec.test.ex is undeliverable: all relevant MX records point to non-existent hosts +user@mx-unsec-a-unsec.test.ex cannot be resolved at this time: host lookup done insecurely +user@mx-unsec-a-sec.test.ex cannot be resolved at this time: host lookup done insecurely +user@mx-sec-a-unsec.test.ex cannot be resolved at this time: host lookup done insecurely user@mx-sec-a-sec.test.ex router = dnslookup, transport = smtp host a-sec.test.ex [V4NET.0.0.100] MX=5 AD |