From: Jeremy Harris Date: Tue, 12 Mar 2019 22:50:10 +0000 (+0000) Subject: Testsuite: add testcase showing outgoing-conn local interface X-Git-Tag: exim-4.93-RC0~262 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0781a8a50694b18cc1cf30e90a7d127ef0bfe7e9;p=exim.git Testsuite: add testcase showing outgoing-conn local interface --- 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