[exim-dev] [Bug 2953] selectable local IP in smtp transport

Pàgina inicial
Delete this message
Reply to this message
Autor: Exim Bugzilla
Data:  
A: exim-dev
Assumptes vells: [exim-dev] [Bug 2953] New: selectable local IP in smtp transport
Assumpte: [exim-dev] [Bug 2953] selectable local IP in smtp transport
https://bugs.exim.org/show_bug.cgi?id=2953

--- Comment #4 from Jeremy Harris <jgh146exb@???> ---
(In reply to Jasen Betts from comment #3)
> The seems to be on the caller to guess which of ip6 or ip4 the mx record
> will resolve to this time.


Docs say:
"The first interface of the correct type (IPv4 or IPv6)
is used for the outgoing connection" (the "interface" option takes a list) -
so that does not seem to be so.


SO_BINDTODEVICE in Linux socket(7) seems relevant, but implies that

> exim binds the outgoing socket to the ip address I give for interface every time


might even be restrictive; that if you spec addr "A" for an interface that also
has
a "B" for a different subnet, you won't be able to connect to hosts on that "B"
net.
This feels like something that will differ across network-stack
implementations, too.
Anyone feel like testing it?

--
You are receiving this mail because:
You are on the CC list for the bug.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-dev-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/