summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-12-17 23:22:09 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-12-17 23:25:56 +0000
commitce3258931d05becb2c87f17d80ee7c4b01f5a55a (patch)
treea8572e7e3de55fee973707fe55d35d71bd7c4047 /test/scripts
parentf2f2c91b11a6a740b5683ea15ef7e6240b37f086 (diff)
Fix hosts_connection_nolog ensuring that sender_host_cache is not
incorrectly filled in by the daemon, where the sender_host will be varying.
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/0000-Basic/061417
1 files changed, 17 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0614 b/test/scripts/0000-Basic/0614
new file mode 100644
index 000000000..ff3931b16
--- /dev/null
+++ b/test/scripts/0000-Basic/0614
@@ -0,0 +1,17 @@
+# hosts_connection_nolog versus sender_host lists caching
+exim -bd -DSERVER=server -oX PORT_D
+****
+#
+# Will not log connection due to hosts_connection_nolog
+client 127.0.0.1 PORT_D
+??? 220
+QUIT
+****
+#
+# Connection should be logged
+client HOSTIPV4 PORT_D
+??? 220
+QUIT
+****
+#
+killdaemon