Red Hat Bugzilla – Bug 38222
sendmail 8.11.0-8 cannot use tcpwrapper
Last modified: 2007-04-18 12:32:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
When I try to use tcpwrapper with sendmail it doesn't work. sendmail-cf-
8.11.0-8.i386.rpm isn't compiled with this feature ( try "echo $v |
sendmail -bt -d0" ). If I rebuild sendmail from sendmail-8.11.0-8.src.rpm,
I get the same.
Looking into code, I've found where the problem is; sendmail-8.11.0-
redhat.patch uses -DTCP_WRAPPERS, instead -DTCPWRAPPERS, as sendmail code
If you change it, and rebuild again, it works...
Steps to Reproduce:
1. try "echo $v | sendmail -bt -d0". If compiled with tcpwrapper support,
you must see there this capability
2. use /etc/hosts.deny and /etc/hosts.allow.
1. sendmail doesn't have tcpwrapper capability
2. has no effect
This should be corrected in the current version of Red Hat Linux 7.1.
Thanks for this report,
Florian La Roche