More new test committing.
[exim.git] / test / confs / 0067
diff --git a/test/confs/0067 b/test/confs/0067
new file mode 100644 (file)
index 0000000..0094578
--- /dev/null
@@ -0,0 +1,40 @@
+# Exim test configuration 0067
+
+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 : myhost.ex
+domainlist relay_domains = test.ex : myhost.ex
+
+acl_smtp_rcpt = check_recipient
+smtp_accept_max_nonmail = 1000
+
+# ----- ACL -----
+
+begin acl
+
+check_recipient:
+  accept  hosts = :
+  accept  recipients = postmaster@*
+  deny    senders = !x@b.c : *@b.c :\
+           !^philip@a.b.c : ^(phil|quil)[^@]*@ :\
+           !yy@lsearch;DIR/aux-fixed/TESTNUM.rej.lsearch :\
+           lsearch*@;DIR/aux-fixed/TESTNUM.rej.lsearch :\
+           @@lsearch*;DIR/aux-fixed/TESTNUM.rej.bydomain : \
+           ! x@bb.cc : *@bb.cc :\
+           ! DIR/aux-fixed/TESTNUM.not1 : !DIR/aux-fixed/TESTNUM.not2 : \
+           bbb.ccc
+  deny    senders = 1234@m.n.o : DIR/aux-fixed/TESTNUM.rejrec
+  accept  domains = +local_domains
+  accept  domains = +relay_domains
+  deny    message = relay not permitted
+
+# End