Unable to get sendmail submission port to listen on IPv6

Hajimu UMEMOTO ume at FreeBSD.org
Sat Apr 20 19:01:20 UTC 2013


Hi,

>>>>> On Sat, 20 Apr 2013 20:15:46 +0200
>>>>> Beat Siegenthaler <beat.siegenthaler at beatsnet.com> said:

beat.siegenthaler> Did somebody managed to have 587 listening v6? with 9-STABLE

Yes, it's working fine on my 9-STABLE box.

% sockstat | grep sendmail          
smmsp    sendmail   18673 3  dgram  -> /var/run/log
root     sendmail   3081  3  dgram  -> /var/run/logpriv
root     sendmail   3081  4  tcp4   *:25                  *:*
root     sendmail   3081  5  tcp6   *:25                  *:*
root     sendmail   3081  6  tcp4   *:587                 *:*
root     sendmail   3081  7  tcp6   *:587                 *:*

You need the following lines in your `hostname`.mc:

FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Name=IPv4, Family=inet')dnl
DAEMON_OPTIONS(`Name=IPv6, Family=inet6')dnl
DAEMON_OPTIONS(`Port=587, Name=MSA-IPv4, M=Ea, Family=inet')dnl
DAEMON_OPTIONS(`Port=587, Name=MSA-IPv6, M=Ea, Family=inet6')dnl

Sincerely,

--
Hajimu UMEMOTO
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/


More information about the freebsd-stable mailing list