Support TTL from SOA for NXDOMAIN & NODATA cache entries for dnslists. Bug 1395
[users/jgh/exim.git] / test / scripts / 0000-Basic / 0044
index 90870b700adf81751d50eac48a004749cf1f59e1..0286aed69e82ff04f1fa780bd05ae73bb4f4f655 100644 (file)
@@ -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:<postmaster@exim.test.ex>
 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