Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 15:07:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204126] mail/emailrelay: can't bind when only IPv4 addresses configured
Message-ID:  <bug-204126-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204126

            Bug ID: 204126
           Summary: mail/emailrelay: can't bind when only IPv4 addresses
                    configured
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: KOT@MATPOCKuH.Ru
                CC: robertn@the-nelsons.org
                CC: robertn@the-nelsons.org
             Flags: maintainer-feedback?(robertn@the-nelsons.org)

On system without any IPv6 addresses emailrelay fails to start with messages:
# service emailrelay start
emailrelay: error: cannot bind the listening port: :::25
emailrelay: exception: cannot bind the listening port: :::25
/usr/local/etc/rc.d/emailrelay: WARNING: failed to start emailrelay

To make it working on my IPv4-only system I removed --enable-ipv6 from
configure's args:
# svn diff /usr/ports/mail/emailrelay
Index: /usr/ports/mail/emailrelay/Makefile
===================================================================
--- /usr/ports/mail/emailrelay/Makefile (revision 399880)
+++ /usr/ports/mail/emailrelay/Makefile (working copy)
@@ -16,7 +16,7 @@
 USES=          autoreconf pkgconfig
 GNU_CONFIGURE= yes
 CONFIGURE_ENV= e_spooldir=${PREFIX}/var/spool/emailrelay
-CONFIGURE_ARGS=        --without-pam --enable-ipv6
+CONFIGURE_ARGS=        --without-pam
 USE_RC_SUBR=   ${PORTNAME}

 OPTIONS_DEFINE=                DOCS DOXYGEN GUI OPENSSL

But I think proper way to solve this issue is enabling IPv6 via "make config"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204126-13>