Date: Fri, 19 Apr 2013 07:00:11 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: Beat Siegenthaler <beat.siegenthaler@beatsnet.com> Cc: freebsd-stable@freebsd.org Subject: Re: Unable to get sendmail submission port to listen on IPv6 Message-ID: <20130419140011.GA87089@icarus.home.lan> In-Reply-To: <51713C5C.9070009@beatsnet.com> References: <51713C5C.9070009@beatsnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130419140011.GA87089>