From owner-freebsd-ports-bugs@freebsd.org Mon Apr 26 03:39:19 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 574595F364C for ; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FT9cR1qSnz4tx6 for ; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 3E6FF5F371D; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E35C5F37AF for ; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FT9cR1C92z4vDp for ; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1CBF72032E for ; Mon, 26 Apr 2021 03:39:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 13Q3dJ3G080392 for ; Mon, 26 Apr 2021 03:39:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13Q3dJE4080391 for ports-bugs@FreeBSD.org; Mon, 26 Apr 2021 03:39:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255406] mail/emailrelay: only listening on IPv6 ports and won't accept IPv4 address parameters Date: Mon, 26 Apr 2021 03:39:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andymac@bullseye.apana.org.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 03:39:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255406 Bug ID: 255406 Summary: mail/emailrelay: only listening on IPv6 ports and won't accept IPv4 address parameters Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: andymac@bullseye.apana.org.au CC: robertn@the-nelsons.org CC: robertn@the-nelsons.org Flags: maintainer-feedback?(robertn@the-nelsons.org) System: 12.2 RELEASE amd64 with 2 ethernet interfaces both with IPv4 addres= ses but IPv6 disabled; loopback interface still has IPv4 and IPv6. Port instal= led as package (emailrelay-1.9_6). Problem: any attempt to configure an interface with only an IPv4 address for the --listen option results in: (for IPv4 address) emailrelay: error: invalid ip address string: invalid format: 192.168.10.2 emailrelay: exception: invalid ip address string: invalid format: 192.168.1= 0.2 (for interface name) emailrelay: error: invalid ip address string: invalid format: em0 emailrelay: exception: invalid ip address string: invalid format: em0 using "emailrelay --interface
--port 10025 --as-proxy localhost 2= 5" If the interface isn't specified so emailrelay should listen on all interfa= ces for port 10025 (i.e. "emailrelay --port 10025 --as-proxy localhost:25"), sockstat reports: daemon emailrelay 3 tcp6 *:10025 *:* which suggests that emailrelay is only listening on IPv6 addresses as proto would be tcp46 if listening on both -4 and -6 addresses. PR 204126 seems to have been related but a long time ago. I note from the = port commit log that the IPv6 configuration was changed relatively recently. The emailrelay documentation suggests that mixed IPv4 & IPv6 operation should be supported. --=20 You are receiving this mail because: You are the assignee for the bug.=