diff options
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/2035 | 12 | ||||
-rw-r--r-- | test/confs/2135 | 12 |
2 files changed, 18 insertions, 6 deletions
diff --git a/test/confs/2035 b/test/confs/2035 index a10dc53e9..52b9456b1 100644 --- a/test/confs/2035 +++ b/test/confs/2035 @@ -34,11 +34,16 @@ check_rcpt: accept check_data: - warn logwrite = $message_exim_id received on port $received_port + warn logwrite = received on port $received_port defer condition = ${if eq {SERVER}{server}} condition = ${if eq {data_defer}{${local_part:$recipients}}} accept +delay: + warn condition = ${if = {$received_port}{PORT_D}} + delay = 1s + accept + # ----- Routers ----- begin routers @@ -47,8 +52,9 @@ begin routers target: driver = redirect - condition = ${if = {$received_port}{PORT_D}} - data = :blackhole: + condition = ${if = {$received_port}{PORT_D}} + address_data = ${acl {delay}} + data = :blackhole: dut: driver = manualroute diff --git a/test/confs/2135 b/test/confs/2135 index fcb5f00f4..68762146c 100644 --- a/test/confs/2135 +++ b/test/confs/2135 @@ -34,11 +34,16 @@ check_rcpt: accept check_data: - warn logwrite = $message_exim_id received on port $received_port + warn logwrite = received on port $received_port defer condition = ${if eq {SERVER}{server}} condition = ${if eq {data_defer}{${local_part:$recipients}}} accept +delay: + warn condition = ${if = {$received_port}{PORT_D}} + delay = 1s + accept + # ----- Routers ----- begin routers @@ -47,8 +52,9 @@ begin routers target: driver = redirect - condition = ${if = {$received_port}{PORT_D}} - data = :blackhole: + condition = ${if = {$received_port}{PORT_D}} + address_data = ${acl {delay}} + data = :blackhole: dut: driver = manualroute |