Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 02:24:58 -0700 (PDT)
From:      Dan Strick <strick@covad.net>
To:        freebsd-questions@freebsd.org
Cc:        rjhjr@cox.net
Subject:   Re: SMTP attempt?
Message-ID:  <200308210924.h7L9Owew000703@ice.nodomain>

next in thread | raw e-mail | index | archive | help
>>>>>>>>>>
> I've been noticing a lot of the following the last week:
> Aug 21 01:00:01 kongemord /kernel: Connection attempt to TCP 127.0.0.1:25
> from 127.0.0.1:1074
> 
> I can't figure out what's trying to connect to the SMTP port. I've got 
> sendmail turned off, so there's nothing listening at port 25. 
> 
> Bob Hall
>>>>>>>>>>

Recent sendmail configurations route all local email through the sendmail
daemon that usually listens on port 25.  There was a "security" reason
for the change.  Since local email is essential, for example for reporting
the results of the "daily" scripts run out of crontab, you should either
reenable your sendmail daemon on port 25 or reconfigure your local email
to not route everything through the daemon.  There are instructions
for doing this somewhere in the sendmail documentation.  I think it
involves hacking /etc/mail/submit.cf.

Note: the sendmail binary that comes with FreeBSD was built with libwrap.a
support.  That means it obeys /etc/hosts.allow and can be told to reject
all non-local connections to port 25.

Dan Strick
strick@covad.net



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