More new test committing.
[exim.git] / test / confs / 0002
diff --git a/test/confs/0002 b/test/confs/0002
new file mode 100644 (file)
index 0000000..6f02faf
--- /dev/null
@@ -0,0 +1,45 @@
+# Exim test configuration 0002
+
+LENCHECK=
+PTBC=
+
+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 dlist = *.aa.bb : ^\Nxxx
+hostlist   hlist = V4NET.11.12.13 : iplsearch;DIR/aux-fixed/0002.iplsearch
+headers_charset = iso-8859-8
+
+acl_smtp_connect = connect${substr_-1_1:$sender_host_address}
+acl_smtp_rcpt = accept
+acl_smtp_data = check_data
+
+PTBC
+LENCHECK
+
+# ----- ACL -----
+
+begin acl
+
+connect0:
+  accept
+
+connect1:
+  deny  hosts = partial-lsearch;DIR/aux-fixed/0002.lsearch
+
+connect2:
+  deny  hosts = net-lsearch;DIR/aux-fixed/0002.lsearch
+
+check_data:
+  warn  logwrite = Subject is: "$h_subject:"
+  deny  message = reply_address=<$reply_address>
+
+# End