sendmail ignores hosts.allow

Rich Winkel rich at math.missouri.edu
Mon Aug 30 07:39:55 PDT 2004


According to Ruben de Groot:
> On Sun, Aug 29, 2004 at 11:53:55PM -0500, Rich Winkel typed:
> > I'm running 4.10-release-p2.  Sendmail is ignoring hosts.allow.
> > Is this a known problem?
> 
> AFAIK, no. Could you post your hosts.allow? Are you using sendmail from 
> the base system?

Hi, sorry I was burnt out from lack of sleep and beating my head
against the wall :)  I'm using the base system sendmail. 
I just put (as an example):
sendmail : 127.0.0.1 : deny
as the first line of /etc/hosts.allow,
kill and restart sendmail (just in case) and do a
telnet localhost 25
and it still connects:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 crusty.math.missouri.edu ESMTP Sendmail 8.12.11/8.12.11; Mon, 30 Aug 2004 09:35:29 -0500 (CDT)
quit
221 2.0.0 crusty.math.missouri.edu closing connection

Do I need anything special in sendmail.cf?  I don't think I used to ...
Can anyone confirm this on their system?

Thanks!!!
Rich



More information about the freebsd-questions mailing list