[Bug 255406] mail/emailrelay: only listening on IPv6 ports and won't accept IPv4 address parameters

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Dec 2024 22:13:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255406

Bob Bishop <rb@gid.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb@gid.co.uk

--- Comment #2 from Bob Bishop <rb@gid.co.uk> ---
Just fallen over this myself with the package.

The problem is that emailrelay expects mapped IPv6 addresses. Set:

sysctl net.inet6.ip6.v6only=0

to enable mapped addresses and specify eg:

--interface ::FFFF:192.168.x.x

and behold:

# netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)    
tcp4       0      0 192.168.x.x.465        *.*                    LISTEN    


I don't know whether this is just a poor choice of build options, but it's ugly
as hell. Don't get me started ....

-- 
You are receiving this mail because:
You are the assignee for the bug.