Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 11:51:03 -0400
From:      "jflowers" <jflowers@ezo.net>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail  8.14.5/8.14.5 on fbsd-9.1R (EC2)
Message-ID:  <20130426153728.M27769@ezo.net>

Next in thread | Raw E-Mail | Index | Archive | Help
All I want to do is have the MTA listen on 127.0.0.1 port 1025 and have no
sendmail process listen on the server interface.  That's being done by assp
which proxies messages to 127.0.0.1:1025.  Unfortunately, I haven't been able
to figure out how to turn off the default.  Sockstat shows:

root     sendmail   1672  4  tcp4   *:25                  *:*
root     sendmail   1672  5  tcp6   *:25                  *:*
root     sendmail   1672  6  tcp4   127.0.0.1:1025        *:*
root     sendmail   1672  7  tcp4   111.222.333.444:587   *:*

The relevant mc entries are:

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
DAEMON_OPTIONS(`Port=1025, Addr=127.0.0.1, Name=MTA')
VIRTUSER_DOMAIN_FILE(`/etc/mail/virtual-domains')
FEATURE(`no_default_msa')
DAEMON_OPTIONS(`Port=587, Addr= 111.222.333.444, Name=MSA, M=E')

The MSA isn't strictly necessary now but I thought might have a future use.

So, what am I missing?  How do I turn *:25 off so that when assp goes down (as
it frequently does) I'm not running an open relay (all user/domain validation
is done in assp).

Any pointers in the right direction appreciated.

Thanks


--
Jim Flowers <jflowers@ezo.net>




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20130426153728.M27769>