sendmail ignores hosts.allow
Rich Winkel
rich at math.missouri.edu
Sat Sep 4 23:01:21 PDT 2004
Can anyone confirm this behavior on their machine? Doing an
ldd /usr/libexec/sendmail/sendmail shows:
/usr/libexec/sendmail/sendmail:
libutil.so.3 => /usr/lib/libutil.so.3 (0x280fd000)
libwrap.so.3 => /usr/lib/libwrap.so.3 (0x28106000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x2810e000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x2813e000)
libc.so.4 => /usr/lib/libc.so.4 (0x2823e000)
so it's clearly linked with libwrap. What's going on here??
According to Rich Winkel:
> 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
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list