Date: Tue, 08 Jan 2013 19:13:54 +0100 From: Michiel Boland <boland37@xs4all.nl> To: freebsd-stable@freebsd.org Subject: Re: sendmail vs ipv6 broken after upgrade to 9.1 Message-ID: <50EC61E2.2090000@xs4all.nl> In-Reply-To: <20130108151837.GF35868@acme.spoerlein.net>
index | next in thread | previous in thread | raw e-mail
On 01/08/2013 16:18, Ulrich Spörlein wrote:
[...]
> 98054 sendmail CALL bind(0x7,0x708dbc,0x1c)
> 98054 sendmail STRU struct sockaddr { AF_INET6, [::ffff:88.198.49.12]:587 }
> 98054 sendmail RET bind -1 errno 49 Can't assign requested address
>
> Yeah right ... I don't want an IPv6-mapped-IPv4 address, I want it to bind to the real thing.
Sendmail uses the first address returned by gethostbyname, rather than scan for
a 'real' ipv6 address instead of a mapped ipv4 address.
My guess is that things will improve once you do '/etc/rc.d/ip6addrctl
prefer_ipv6'. This will cause gethostbyname to return the real ipv6 address first.
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50EC61E2.2090000>
