Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2008 12:55:47 +0100
From:      "Wouter Oosterveld" <wouter@fizzyflux.nl>
To:        freebsd-questions@freebsd.org
Subject:   sendmail should not bind to loopback only
Message-ID:  <b4950de90802040355x3d91adfewaafc1e5fdb024ef9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm experiencing a weird problem with sendmail on a FreeBSD
6.3-RELEASE machine (Dell PE2950 AMD64). Sendmail seems to only bind
to the loopback device while not explicitly configured. I copied the
config from an 5.3-RELEASE-p9 machine.

I ofcourse checked the change log of sendmail, /usr/src/UPDATING, the
batbook and google.

Does anyone have an idea what is causing this?

Thanks in advance,

Wouter Oosterveld

sockstat:

(12:46:38)[root@canoe] ~ # sockstat -4l
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
(...)
root     sendmail   1205  4  tcp4   127.0.0.1:25          *:*
(...)

config sendmail.mc:

VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22
16:20:01 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(`greet_pause',700)
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl INPUT_MAIL_FILTER(`spamassassin',
`S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')
dnl define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name},
{if_name}, {if_addr}')dnl
define(`confCW_FILE', `-o /etc/mail/local-host-names')
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`dnsbl',`zen.spamhaus.org')dnl
FEATURE(`delay_checks', `friend')dnl
define(`confME_TOO', `false')dnl
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
MAILER(local)
MAILER(smtp)

grep -i 'o daemon' /etc/mail/sendmail.cf:
O DaemonPortOptions=Name=IPv4, Family=inet
O DaemonPortOptions=Name=IPv6, Family=inet6, Modifiers=O
O DaemonPortOptions=Port=587, Name=MSA, M=E



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b4950de90802040355x3d91adfewaafc1e5fdb024ef9>