Red Hat Bugzilla – Bug 41151
outgoing smtp on localhost fails when using tcpwrappers
Last modified: 2007-04-18 12:33:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2smp i686)
Description of problem:
When trying to send e-mail to an smtp server running on 7.1 with tcp
wrappers enabled (i.e. /etc/hosts.deny --> ALL: ALL), the netscape client
will not send on the localhost. The only way to get this to function was
to put in the line: sendmail : ALL in /etc/hosts.allow. The following
lines did not work in /etc/hosts.allow:
Steps to Reproduce:
1.Send an e-mail from netscape
Actual Results: I received an error from Netscape:
The mail server responded
5.0.0 Access Denied
/var/log/maillog gave me the following error:
May 17 15:11:15 mailx sendmail: f4HKBF125415: tcpwrappers
(mailx.personalcarehmo.com, 127.0.0.1) rejection
Expected Results: e-mail should have been sent
same problem here, except with fetchmail.
fetchmail -v reports "Access Denied" from the local
adding sendmail: ALL in /etc/hosts.allow worked for me too,
this is alright though, since DomainPortOptions in sendmail.cf
is locked to 127.0.0.1 anyway.
What about this?
sendmail rpm should be fine.
Florian La Roche