summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-05-12 15:01:12 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2021-05-12 17:42:52 +0100
commitc1faf04b865465894c7ca41ab4585fb69d4a5936 (patch)
tree28e0a764207c4991e3d67972291c8f94bf61b782 /test
parente3311bc211d20617d90e75ea8ec7e01e6210483d (diff)
downloadexim4-c1faf04b865465894c7ca41ab4585fb69d4a5936.tar.gz
Named Queues: fix immediate-delivery. Bug 2743
(cherry picked from commit 159cf206c97f876b07829d92db2217689745c1e8)
Diffstat (limited to 'test')
-rw-r--r--test/confs/05766
-rw-r--r--test/log/05763
-rw-r--r--test/scripts/0000-Basic/05764
3 files changed, 13 insertions, 0 deletions
diff --git a/test/confs/0576 b/test/confs/0576
index 5b023d280..3c0a4f830 100644
--- a/test/confs/0576
+++ b/test/confs/0576
@@ -7,6 +7,8 @@ SERVER =
log_selector = +received_recipients +sender_on_delivery
acl_smtp_rcpt = rcpt
+acl_not_smtp_start = not_smtp
+
queue_only
queue_run_in_order
@@ -19,6 +21,10 @@ rcpt:
queue = ${if eq {normal}{$local_part} {} {${bless:$local_part}}}
logwrite = using queue '$queue_name'
+not_smtp:
+ accept
+ queue = example
+
#---------------
begin routers
diff --git a/test/log/0576 b/test/log/0576
index 246b10578..ddc28f932 100644
--- a/test/log/0576
+++ b/test/log/0576
@@ -28,6 +28,9 @@
1999-03-02 09:44:33 10HmbC-0005vi-00 moved from (alternate) input, msglog to (third) input, msglog
1999-03-02 09:44:33 10HmbB-0005vi-00 moved from (third) input, msglog to input, msglog
1999-03-02 09:44:33 10HmbC-0005vi-00 moved from (third) input, msglog to input, msglog
+1999-03-02 09:44:33 10HmbD-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss Q=example for q_set_by_nonsmtp_acl@test.ex
+1999-03-02 09:44:33 10HmbD-0005vi-00 => q_set_by_nonsmtp_acl <q_set_by_nonsmtp_acl@test.ex> F=<CALLER@the.local.host.name> Q=example R=all T=dump
+1999-03-02 09:44:33 10HmbD-0005vi-00 Completed
******** SERVER ********
1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, -qGlowpri/3s, not listening for SMTP
diff --git a/test/scripts/0000-Basic/0576 b/test/scripts/0000-Basic/0576
index ddf17f8d9..0f9a8c702 100644
--- a/test/scripts/0000-Basic/0576
+++ b/test/scripts/0000-Basic/0576
@@ -119,4 +119,8 @@ exim -bp -qGalternate
exim -bp -qGthird
****
#
+# Immediate delivery, via alternate queue
+exim -odi q_set_by_nonsmtp_acl@test.ex
+****
+#
no_stderr_check