summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-05-04 12:25:23 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-05-04 15:04:39 +0100
commit6f585046cf0b00509f0ff7c8f8a48b9cf7c2ab75 (patch)
tree184503a15c75af20dd6aa8765247e5bfc1d95844 /test/confs
parent302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc (diff)
Testsuite: bounce_message_file and warn_message_file
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/062249
1 files changed, 49 insertions, 0 deletions
diff --git a/test/confs/0622 b/test/confs/0622
new file mode 100644
index 000000000..486bac27d
--- /dev/null
+++ b/test/confs/0622
@@ -0,0 +1,49 @@
+# Exim test configuration 0622
+# Bounces
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+acl_smtp_rcpt = accept
+log_selector = +received_recipients +millisec
+
+.ifdef OPT
+bounce_message_file = OPT
+warn_message_file = OPT
+.endif
+
+delay_warning = 1s
+
+# ----- Routers -----
+
+begin routers
+
+delay:
+ driver = redirect
+ local_parts = ^delay
+ allow_defer
+ data = :defer: deliberate for test purposes
+
+bounces:
+ driver = accept
+ condition = ${if !def:sender_address}
+ transport = savebounce
+
+begin transports
+
+savebounce:
+ driver = appendfile
+ file = DIR/test-mail/bounce_message
+ user = CALLER
+
+# ----- Retry -----
+
+begin retry
+
+* * F,5d,100s
+
+
+# End