diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-08-01 19:31:36 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-08-10 19:27:02 +0100 |
commit | dbbf21a75d225871cb7a44878ece42c5d79a1a2c (patch) | |
tree | 3e96a3cdce26cee348aac179eb1e56ea11f5f203 /test/scripts | |
parent | 30afa09ebdb98fdb50fc60f0ce0cb4974bde1225 (diff) |
Routers: make retry_use_local_part default true when any non-domain condition is present. Bug 2408
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0264 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0264 b/test/scripts/0000-Basic/0264 index 5d6bcfb29..2b97ad4f6 100644 --- a/test/scripts/0000-Basic/0264 +++ b/test/scripts/0000-Basic/0264 @@ -27,13 +27,28 @@ exim -q **** exim -Mrm $msg1 $msg2 **** +# Using a router with preconditions (local_parts, here) should get an address-retry record +sudo rm DIR/spool/db/retry exim -odi r4.a@outside **** +dump retry exim -odq r4.b@outside **** exim -q **** exim -odi r5.a@r5domain.ex **** +exim -Mrm $msg1 $msg2 $msg3 +**** +# Using a router with no non-domain preconditions, first should write a domain-retry record. +sudo rm DIR/spool/db/retry +exim -odi rz.a@outside +**** +dump retry +# Second will find it - this is visible in debug output +exim -d-all+route+deliver+retry -odi rz.b@outside +**** +exim -q +**** no_msglog_check no_message_check |