diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-03-12 22:50:10 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-03-12 22:50:10 +0000 |
commit | 0781a8a50694b18cc1cf30e90a7d127ef0bfe7e9 (patch) | |
tree | ace338acbac1ba40b01c5f8fd2994576534038d2 | |
parent | 2e6a0ed708ac49cabf193f05e970489423e6dbb2 (diff) |
Testsuite: add testcase showing outgoing-conn local interface
-rw-r--r-- | test/confs/0179 | 3 | ||||
-rw-r--r-- | test/log/0179 | 4 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0179 | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/test/confs/0179 b/test/confs/0179 index fdd5fb10c..381b41caf 100644 --- a/test/confs/0179 +++ b/test/confs/0179 @@ -7,7 +7,8 @@ primary_hostname = myhost.test.ex # ----- Main settings ----- queue_run_in_order -log_selector = +outgoing_port +# incoming_interface is used here to get the _outgoing_ local port +log_selector = +outgoing_port +incoming_interface # ----- Routers ----- diff --git a/test/log/0179 b/test/log/0179 index 2038b184f..de05f6462 100644 --- a/test/log/0179 +++ b/test/log/0179 @@ -1,8 +1,8 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 1999-03-02 09:44:33 10HmaY-0005vi-00 <= CALLER@myhost.test.ex U=CALLER P=local S=sss 1999-03-02 09:44:33 Start queue run: pid=pppp -qqf -1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1]:PORT_S C="250 OK" +1999-03-02 09:44:33 10HmaX-0005vi-00 => userx@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1]:PORT_S I=[127.0.0.1]:ppppp C="250 OK" 1999-03-02 09:44:33 10HmaX-0005vi-00 Completed -1999-03-02 09:44:33 10HmaY-0005vi-00 => abcd@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1]:PORT_S* C="250 OK" +1999-03-02 09:44:33 10HmaY-0005vi-00 => abcd@domain.com R=all T=smtp H=127.0.0.1 [127.0.0.1]:PORT_S I=[127.0.0.1]:ppppp* C="250 OK" 1999-03-02 09:44:33 10HmaY-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp -qqf diff --git a/test/scripts/0000-Basic/0179 b/test/scripts/0000-Basic/0179 index 58d869b4d..932cc11fe 100644 --- a/test/scripts/0000-Basic/0179 +++ b/test/scripts/0000-Basic/0179 @@ -1,4 +1,4 @@ -# -qqf +# -qqf (+outgoing_port +incoming_interface) need_ipv4 # exim -odq userx@domain.com |