diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2022-04-03 21:37:01 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2022-04-04 23:33:21 +0100 |
commit | cb45303cf2a8d9922702f13db42b3285c48f6aa7 (patch) | |
tree | 55483617237f8d9aa6c81c369f302687571db6ca /test | |
parent | a9231f68f7c21597260c867dc6f7ad6207a4baf1 (diff) |
Support PIPECONNECT with helo_data using the local IP, when interface is known.
Diffstat (limited to 'test')
-rw-r--r-- | test/confs/4050 | 3 | ||||
-rw-r--r-- | test/log/4051 | 10 | ||||
-rw-r--r-- | test/scripts/4050-pipe-conn/4051 | 9 |
3 files changed, 22 insertions, 0 deletions
diff --git a/test/confs/4050 b/test/confs/4050 index fd3d7db54..2523328f7 100644 --- a/test/confs/4050 +++ b/test/confs/4050 @@ -60,6 +60,9 @@ begin transports smtp: driver = smtp +.ifdef BB + interface = BB +.endif hosts_try_fastopen = : hosts_pipe_connect = CONTROL .ifdef HELO_MSG diff --git a/test/log/4051 b/test/log/4051 index c332087d7..d56d4061a 100644 --- a/test/log/4051 +++ b/test/log/4051 @@ -23,6 +23,11 @@ 1999-03-02 09:44:33 10HmbF-0005vi-00 => helo_data@test.ex R=client T=smtp H=127.0.0.1 [127.0.0.1] L C="250 OK id=10HmbG-0005vi-00" 1999-03-02 09:44:33 10HmbF-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp +1999-03-02 09:44:33 10HmbH-0005vi-00 <= CALLER@the.local.host.name U=CALLER P=local S=sss for helo_data_bound@test.ex +1999-03-02 09:44:33 Start queue run: pid=pppp +1999-03-02 09:44:33 10HmbH-0005vi-00 => helo_data_bound@test.ex R=client T=smtp H=127.0.0.1 [127.0.0.1] L* C="250 OK id=10HmbI-0005vi-00" +1999-03-02 09:44:33 10HmbH-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp ******** SERVER ******** 1999-03-02 09:44:33 exim x.yz daemon started: pid=pppp, no queue runs, listening for SMTP on port PORT_D @@ -52,3 +57,8 @@ 1999-03-02 09:44:33 10HmbG-0005vi-00 => :blackhole: <helo_data@test.ex> R=server 1999-03-02 09:44:33 10HmbG-0005vi-00 Completed 1999-03-02 09:44:33 End queue run: pid=pppp +1999-03-02 09:44:33 10HmbI-0005vi-00 <= CALLER@the.local.host.name H=(127.0.0.1) [127.0.0.1] P=esmtp L* S=sss id=E10HmbH-0005vi-00@the.local.host.name for helo_data_bound@test.ex +1999-03-02 09:44:33 Start queue run: pid=pppp +1999-03-02 09:44:33 10HmbI-0005vi-00 => :blackhole: <helo_data_bound@test.ex> R=server +1999-03-02 09:44:33 10HmbI-0005vi-00 Completed +1999-03-02 09:44:33 End queue run: pid=pppp diff --git a/test/scripts/4050-pipe-conn/4051 b/test/scripts/4050-pipe-conn/4051 index dd5f4c7a8..e06bf5c7e 100644 --- a/test/scripts/4050-pipe-conn/4051 +++ b/test/scripts/4050-pipe-conn/4051 @@ -64,6 +64,15 @@ exim -DCONTROL=127.0.0.1 -DHELO_MSG='$sending_ip_address' -q exim -DNOTDAEMON -DSERVER=server -q **** # +# ... unless the connection is bound to a specified interface +exim helo_data_bound@test.ex +Subject test 6 +**** +exim -DCONTROL=127.0.0.1 -DHELO_MSG='$sending_ip_address' -DBB=127.0.0.1 -q +**** +exim -DNOTDAEMON -DSERVER=server -q +**** +# # killdaemon no_msglog_check |