More new test committing.
[users/jgh/exim.git] / test / confs / 0501
diff --git a/test/confs/0501 b/test/confs/0501
new file mode 100644 (file)
index 0000000..258c5e0
--- /dev/null
@@ -0,0 +1,32 @@
+# Exim test configuration 0501
+
+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
+
+acl_smtp_rcpt = check_rcpt
+
+trusted_users = CALLER
+
+# ------ ACLs ------
+
+begin acl
+
+check_rcpt:
+  warn   logwrite = 1: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
+         control  = caseful_local_part
+         logwrite = 2: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
+         control  = caselower_local_part
+         logwrite = 3: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
+  accept
+
+# End