From: Jeremy Harris Date: Sat, 7 Sep 2019 19:52:33 +0000 (+0100) Subject: Testsuite: increase RBL record TTL X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/2e860c7601c03eb8b1f02a5035deb1ca966f9cc0 Testsuite: increase RBL record TTL --- diff --git a/test/dnszones-src/db.test.ex b/test/dnszones-src/db.test.ex index d1bc8e9f1..de710dcf3 100644 --- a/test/dnszones-src/db.test.ex +++ b/test/dnszones-src/db.test.ex @@ -172,7 +172,7 @@ cname4 CNAME thishost ; V4NET.11.12.13 is deliberately not reverse-registered -TTL=1 13.12.11.V4NET.rbl A 127.0.0.2 +TTL=3 13.12.11.V4NET.rbl A 127.0.0.2 TXT "This is a test blacklisting message" TTL=2 14.12.11.V4NET.rbl A 127.0.0.2 TXT "This is a test blacklisting message" diff --git a/test/stderr/0023 b/test/stderr/0023 index cca600fa1..8111c9fd1 100644 --- a/test/stderr/0023 +++ b/test/stderr/0023 @@ -655,7 +655,7 @@ LOG: H=[5.6.13.1] F= rejected RCPT >>> check dnslists = rbl.test.ex >>> dnslists check: rbl.test.ex >>> new DNS lookup for 13.12.11.V4NET.rbl.test.ex ->>> dnslists: wrote cache entry, ttl=1 +>>> dnslists: wrote cache entry, ttl=3 >>> DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2) >>> => that means V4NET.11.12.13 is listed at rbl.test.ex >>> deny: condition test succeeded in ACL "acl_V4NET_11_12" @@ -1235,7 +1235,7 @@ LOG: H=[30.30.30.30] F= rejected RCPT : domain=test.ex >>> = test.ex=V4NET.0.0.1,127.0.0.2/13.12.11.V4NET.rbl >>> dnslists check: test.ex=V4NET.0.0.1,127.0.0.2/13.12.11.V4NET.rbl >>> new DNS lookup for 13.12.11.V4NET.rbl.test.ex ->>> dnslists: wrote cache entry, ttl=1 +>>> dnslists: wrote cache entry, ttl=3 >>> DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2) >>> => that means 13.12.11.V4NET.rbl is listed at test.ex >>> deny: condition test succeeded in ACL "acl_30_30_30" diff --git a/test/stderr/0044 b/test/stderr/0044 index 6359bd380..d2891b87a 100644 --- a/test/stderr/0044 +++ b/test/stderr/0044 @@ -79,7 +79,7 @@ dnslists check: rbl.test.ex new DNS lookup for 13.12.11.V4NET.rbl.test.ex DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) using fakens DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) succeeded -dnslists: wrote cache entry, ttl=1 +dnslists: wrote cache entry, ttl=3 DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2) DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) using fakens DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) succeeded diff --git a/test/stderr/0138 b/test/stderr/0138 index 38e862c9e..6099e773a 100644 --- a/test/stderr/0138 +++ b/test/stderr/0138 @@ -90,7 +90,7 @@ LOG: 10HmaX-0005vi-00 <= postmaster@exim.test.ex H=(exim.test.ex) [V4NET.11.12.1 >>> check dnslists = rbl.test.ex >>> dnslists check: rbl.test.ex >>> new DNS lookup for 13.12.11.V4NET.rbl.test.ex ->>> dnslists: wrote cache entry, ttl=1 +>>> dnslists: wrote cache entry, ttl=3 >>> DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2) >>> => that means V4NET.11.12.13 is listed at rbl.test.ex >>> warn: condition test succeeded in ACL "check_recipient" diff --git a/test/stderr/0386 b/test/stderr/0386 index 22a1184c5..80de7da89 100644 --- a/test/stderr/0386 +++ b/test/stderr/0386 @@ -196,7 +196,7 @@ dnslists check: rbl.test.ex new DNS lookup for 13.12.11.V4NET.rbl.test.ex DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) using fakens DNS lookup of 13.12.11.V4NET.rbl.test.ex (A) succeeded -dnslists: wrote cache entry, ttl=1 +dnslists: wrote cache entry, ttl=3 DNS lookup for 13.12.11.V4NET.rbl.test.ex succeeded (yielding 127.0.0.2) DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) using fakens DNS lookup of 13.12.11.V4NET.rbl.test.ex (TXT) succeeded