[Bug 204126] mail/emailrelay: can't bind when only IPv4 addresses configured

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 29 15:07:05 UTC 2015


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 at FreeBSD.org
          Reporter: KOT at MATPOCKuH.Ru
                CC: robertn at the-nelsons.org
                CC: robertn at the-nelsons.org
             Flags: maintainer-feedback?(robertn at 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.


More information about the freebsd-ports-bugs mailing list