From owner-freebsd-stable@FreeBSD.ORG Fri Apr 19 14:00:14 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3BEC0C10 for ; Fri, 19 Apr 2013 14:00:14 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from qmta03.emeryville.ca.mail.comcast.net (qmta03.emeryville.ca.mail.comcast.net [IPv6:2001:558:fe2d:43:76:96:30:32]) by mx1.freebsd.org (Postfix) with ESMTP id 22B25390 for ; Fri, 19 Apr 2013 14:00:13 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta03.emeryville.ca.mail.comcast.net with comcast id Rpd71l00A16AWCUA3q0ChR; Fri, 19 Apr 2013 14:00:12 +0000 Received: from koitsu.strangled.net ([67.180.84.87]) by omta06.emeryville.ca.mail.comcast.net with comcast id Rq0B1l00G1t3BNj8Sq0Bnl; Fri, 19 Apr 2013 14:00:12 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 72C9D73A33; Fri, 19 Apr 2013 07:00:11 -0700 (PDT) Date: Fri, 19 Apr 2013 07:00:11 -0700 From: Jeremy Chadwick To: Beat Siegenthaler Subject: Re: Unable to get sendmail submission port to listen on IPv6 Message-ID: <20130419140011.GA87089@icarus.home.lan> References: <51713C5C.9070009@beatsnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51713C5C.9070009@beatsnet.com> User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1366380012; bh=vJ/1KCIafWS7nxtqSlFTVWxV+Tc4lJTrkbjpzXns5xo=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=lFtVokGhaDD/NR8TKoYV/+C3bN/ain92piluNbgSs1zy6ImPiZheqAb7pX3XRsQFw KgLQtHh7MKnEdRmLny0RzWjgGH2/vk0qpZHXi+4FfKDt2Qg1fmwFORb6V26fpDZEsV jW2wILqQtBIkIJJDnW1OgMi0yP+Lq1shavUg5+Eld826fIZWQwWnU2TDXRiQwtucBb GOYlPgE984IMYjo246qYtx/ryN6EyTIcqWLp2ZytuTv3OvgVztRg6Pvn0xewZrwG++ sFqwX4UDaHrXxYyZyTSVFeD2H6NAA1J3T6RRZ7K58y7DVmqVMnN+aLpsG1upWfDRZ1 e2DPK9rWovAhQ== Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 14:00:14 -0000 On Fri, Apr 19, 2013 at 02:45:16PM +0200, Beat Siegenthaler wrote: > Hi all, > > I did not recognize that 587 is only listening onIy on IPv4. Maybe it's > new, maybe it was alltime so. > > sendmail 25090 root 4u IPv4 0xfffffe01e810f3d0 0t0 > TCP *:25 (LISTEN) > sendmail 25090 root 5u IPv6 0xfffffe01a988f000 0t0 > TCP *:25 (LISTEN) > sendmail 25090 root 6u IPv4 0xfffffe011c53d000 0t0 > TCP *:587 (LISTEN) > > FreeBSD 9.1-STABLE #8 r248707 > > freebsd.submit.mc states: > > dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1] > FEATURE(`msp', `[127.0.0.1]')dnl > > But IPv6:::1 makes no difference, same picture only listen v4. > > hostname.domain.com grown over the years. TLS, some milters, SRS Hack. > And working fine so far. > > Any hint for me? Note: I have not used sendmail in years, so I'm going off of memory. Multiple things: 1. The files that "control" sendmail are `hostname`.mc and `hostname`.submit.mc. The freebsd.mc and freebsd.submit.mc are "stock" examples. I assume you're already familiar with the need to run "make" in /etc/mail. 2. `hostname`.mc controls options/features for the daemon -- i.e. the thing that is listening on TCP ports. `hostname`.submit.mc is for outbound mail. You're wanting sendmail to listen on TCP port 587, which is what's used by SMTP clients (ex. Eudora, Thunderbird, etc.) trying to send mail to sendmail (rather than the classic model/method of using port 25). 3. What you need to add is here: http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/040006.html Good luck. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |