Add acl_not_smtp_start ACL (mostly Johannes Berg's patch).
[exim.git] / test / confs / 0535
diff --git a/test/confs/0535 b/test/confs/0535
new file mode 100644 (file)
index 0000000..6504807
--- /dev/null
@@ -0,0 +1,46 @@
+# Exim test configuration 0535
+
+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 -----
+
+acl_not_smtp_start = one
+trusted_users = CALLER
+
+
+# ----- ACLs -----
+
+begin ACL
+
+one:
+  warn senders = ^nofix@
+       control = suppress_local_fixups
+       add_header = X-Added: $recipients
+
+# ----- Routers -----
+
+begin routers
+
+r1:
+  driver = accept
+  transport = t1
+
+
+# ----- Transports -----
+
+begin transports
+
+t1:
+  driver = appendfile
+  user = CALLER
+  file = DIR/test-mail/$local_part
+
+
+# End