Extend ${readsocket to TCP sockets (modified John Jetmore's patch).
[users/jgh/exim.git] / test / confs / 1010
diff --git a/test/confs/1010 b/test/confs/1010
new file mode 100644 (file)
index 0000000..4a4929b
--- /dev/null
@@ -0,0 +1,27 @@
+# Exim test configuration 1010
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+domainlist local_domains = test.ex : *.test.ex
+acl_smtp_connect = connect
+trusted_users = CALLER
+
+
+# ----- ACL -----
+
+begin acl
+
+connect:
+  deny condition = ${readsocket{DIR/test-socket}{QUERY-ACL\n}{2s}{*EOL*}}
+  accept
+
+# End