summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-02-04 21:53:28 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-02-05 19:34:43 +0000
commit19fdbfb4a2b6ca4a6a96ef52be848f0a23e2414f (patch)
tree0e11463bafd367fc15eb5451d9ba953821431650 /test/confs
parentacfde2172e82f6b776f16d78f789c6968b69b9f0 (diff)
downloadexim4-19fdbfb4a2b6ca4a6a96ef52be848f0a23e2414f.tar.gz
Debug pretrigger capture facility
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/0628 (renamed from test/confs/0574)9
-rw-r--r--test/confs/062922
-rw-r--r--test/confs/063032
-rw-r--r--test/confs/063140
4 files changed, 99 insertions, 4 deletions
diff --git a/test/confs/0574 b/test/confs/0628
index 8703c0219..4369f5a99 100644
--- a/test/confs/0574
+++ b/test/confs/0628
@@ -1,4 +1,4 @@
-# Exim test configuration 0574
+# Exim test configuration 0628
.include DIR/aux-var/std_conf_prefix
@@ -15,13 +15,14 @@ acl_smtp_data = chk_data
begin acl
chk_mail:
- accept control = debug/tag=_1
+ accept control = debug/tag=_1
chk_rcpt:
- accept control = debug/kill
+ accept control = debug/kill
chk_data:
- accept control = debug/tag=_2/opts=+all
+ accept control = debug/tag=_2/opts=+all
+
# ----- Routers -----
diff --git a/test/confs/0629 b/test/confs/0629
new file mode 100644
index 000000000..15ae731ae
--- /dev/null
+++ b/test/confs/0629
@@ -0,0 +1,22 @@
+# Exim test configuration 0629
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+acl_smtp_mail = chk_mail
+acl_smtp_rcpt = chk_rcpt
+
+# ----- ACL -----
+
+begin acl
+
+chk_mail:
+ accept control = debug/tag=_rcpt/pretrigger=1024/trigger=paniclog
+
+chk_rcpt:
+ deny log_reject_target = panic
+
+# End
diff --git a/test/confs/0630 b/test/confs/0630
new file mode 100644
index 000000000..b83790f19
--- /dev/null
+++ b/test/confs/0630
@@ -0,0 +1,32 @@
+# Exim test configuration 0630
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+acl_smtp_mail = chk_mail
+acl_smtp_rcpt = chk_rcpt
+
+# ----- ACL -----
+
+begin acl
+
+chk_mail:
+ accept control = debug/tag=_router/opts=+all/pretrigger=2040/trigger=paniclog
+
+chk_rcpt:
+ accept
+
+# ----- Routers -----
+
+begin routers
+
+r0:
+ # cause paniclog write (by using a tainted filename)
+ driver = redirect
+ local_parts = $spool_directory/$local_part
+ data = :blackhole:
+#
+# End
diff --git a/test/confs/0631 b/test/confs/0631
new file mode 100644
index 000000000..89f282703
--- /dev/null
+++ b/test/confs/0631
@@ -0,0 +1,40 @@
+# Exim test configuration 0631
+
+.include DIR/aux-var/std_conf_prefix
+
+primary_hostname = myhost.test.ex
+
+# ----- Main settings -----
+
+acl_smtp_mail = chk_mail
+acl_smtp_rcpt = chk_rcpt
+acl_smtp_data = chk_data
+
+# ----- ACL -----
+
+begin acl
+
+chk_mail:
+ accept control = debug/tag=_acl/opts=-all+acl/pretrigger=270
+ message = yes1
+ message = yes2
+ message = yes3
+ message = yes4
+ message = yes5
+ message = yes6
+
+chk_rcpt:
+ accept control = debug/trigger=now
+
+chk_data:
+ accept control = debug/stop
+
+# ----- Routers -----
+
+begin routers
+
+r0:
+ driver = redirect
+ data = :blackhole:
+#
+# End