summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-12-23 18:02:25 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-12-23 18:07:57 +0000
commit0762e1a4d6de4b7b0206314302297c9dd6d7ae73 (patch)
treea0a06de3ccab66778aaae65bd4c1d1d6e6cdc0bf /test/confs
parent02f746c26c113c1bd97cc25cc75797327eca9434 (diff)
Expand max_rcpt option on smtp transport. Bug 2946
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/028515
1 files changed, 11 insertions, 4 deletions
diff --git a/test/confs/0285 b/test/confs/0285
index 8b0ada1f1..20ec0263a 100644
--- a/test/confs/0285
+++ b/test/confs/0285
@@ -23,7 +23,7 @@ all:
driver = manualroute
route_list = * 127.0.0.1 byname
self = send
- transport = smtp
+ transport = ${if eq {$domain}{test.ex} {smtp}{magic_smtp}}
# ----- Transports -----
@@ -31,10 +31,17 @@ all:
begin transports
smtp:
- driver = smtp
- port = PORT_S
+ driver = smtp
+ port = PORT_S
hosts_try_fastopen = :
- max_rcpt = 2
+ max_rcpt = 2
+ connection_max_messages = 3
+
+magic_smtp:
+ driver = smtp
+ port = PORT_S
+ hosts_try_fastopen = :
+ max_rcpt = ${if match {$domain}{magic(\\d+)} {$1} {2}}
connection_max_messages = 3