From 3462da30c9c57e63705fa24121655a32b315dfcf Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 5 Sep 2019 10:31:57 +0100 Subject: Support TTL from SOA for NXDOMAIN & NODATA cache entries for dnslists. Bug 1395 --- test/scripts/0000-Basic/0044 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0044 b/test/scripts/0000-Basic/0044 index 90870b700..0286aed69 100644 --- a/test/scripts/0000-Basic/0044 +++ b/test/scripts/0000-Basic/0044 @@ -1,9 +1,13 @@ # RBL blocking (unregistered host) -exim -bh V4NET.11.12.13 +# +# The list2 checks the dnslist layer positive caching +# We cannot check the cache ttl because -bh defeats delays +exim -d -bh V4NET.11.12.13 ehlo exim.test.ex mail from:postmaster@exim.test.ex rcpt to: rcpt to:list@exim.test.ex +rcpt to:list2@exim.test.ex data test data . @@ -18,4 +22,11 @@ test data . quit **** +# +# check negative-cache ttl +exim -d -bh V4NET.99.99.99 +ehlo exim.test.ex +mail from:postmaster@exim.test.ex +rcpt to:list@exim.test.ex +**** no_msglog_check -- cgit v1.2.3