Documentation states (v4.63):
$interface_address
As soon as a server starts processing a TCP/IP connection, this variable is
set to the address of the local IP interface, and $interface_port is set to
the port number. These values are therefore available for use in the
"connect" ACL. See also the -oMi command line option. As well as being used
in ACLs, these variable could be used, for example, to make the file name
for a TLS certificate depend on which interface and/or port is being used.
$interface_port
See $interface_address.
When I attempted to test for $interface_port being blank (assuming that I
was using exim -bh <addr>), the test failed. If there was no connecting port,
I noticed that $interface_port is -1. I feel the documentation should
reflect this.
--
Lab tests show that use of micro$oft causes cancer in lab animals
Got Gas???