summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-11-14 16:40:36 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-11-14 16:40:36 +0000
commit4e88a19f714c90a9381432c7562bd35446fd1f98 (patch)
tree9f62c6dd32227f77e21987ec39b55dd000731764 /test/confs
parent734e149965a807226eb5b87e9e13fda85a48b027 (diff)
Applied a modified version of Brad Jorsch's patch for "message" with
"accept".
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/00232
-rw-r--r--test/confs/054646
2 files changed, 47 insertions, 1 deletions
diff --git a/test/confs/0023 b/test/confs/0023
index be99eb00f..ac6d8f7e2 100644
--- a/test/confs/0023
+++ b/test/confs/0023
@@ -203,7 +203,7 @@ acl_56_56_56:
accept
acl_56_56_57:
- accept message = denied by condition
+ accept message = accepted by condition
condition = ${substr_5:$local_part}
acl_56_56_58:
diff --git a/test/confs/0546 b/test/confs/0546
new file mode 100644
index 000000000..736c126a8
--- /dev/null
+++ b/test/confs/0546
@@ -0,0 +1,46 @@
+# Exim test configuration 0546
+
+HELO_MSG=One line
+RCPT_MSG=RCPT is OK
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+acl_smtp_helo = check_helo
+acl_smtp_mail = check_mail
+acl_smtp_rcpt = check_rcpt
+acl_smtp_data = check_data
+acl_smtp_predata = check_predata
+
+qualify_domain = test.ex
+queue_only
+
+
+# ----- ACLs -----
+
+begin acl
+
+check_helo:
+ accept message = HELO_MSG
+
+check_mail:
+ accept message = 299 MAIL is\nOK
+
+check_rcpt:
+ accept message = RCPT_MSG
+
+check_data:
+ accept message = 288 I like the data
+
+check_predata:
+ accept message = 300 Funny, but OK code
+
+
+# End