[CentOS] TCPWrappers + Sendmail = not working
Les Mikesell
lesmikesell at gmail.com
Thu Apr 24 22:18:01 UTC 2008
Sean Carolan wrote:
>> $ ldd /usr/sbin/sendmail.sendmail | grep wrap
>> libwrap.so.0 => /usr/lib/libwrap.so.0 (0x00319000)
>>
>> tcp_wrappers never sees the connection directly. sendmail handles it
>> from start to end.
>
> Thanks for this info. I will set up an iptables rule to block this access.
I'm confused. I'd expect the above symbol listing to show that sendmail
is in fact using the libwrap library and it should be doing what the
allow/deny files say.
Regardless, the simple way to tell sendmail what you want to permit is
to use the /usr/mail/access file.
--
Les Mikesell
lesmikesell at gmail.com
More information about the CentOS
mailing list