Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 18:37:33 -0400
From:      "Maxim Khitrov" <mkhitrov@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Sendmail ignores hosts.allow
Message-ID:  <26ddd1750705211537j78ed83fdm921f7f5e5df5c4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm trying to restrict access to sendmail via hosts.allow. Don't need
a firewall, since I just want to block everyone but the localhost from
sending e-mail out. Anyway, it seems that sendmail ignores these
settings even though it was compiled with TCPWRAPPERS. I added
"sendmail : all : deny" as the very first line in hosts.allow, just to
see if it will let me connect from anywhere. It does - not just from
localhost, but from all remote locations as well. I have no problems
connecting and sending e-mail. Am I missing something?

I tested the same setup with sshd, and that works properly. After a
quick search on google it seems that I'm not the only one with this
problem, but I couldn't find any solution to this. Any help is greatly
appreciated.

- Maxim Khitrov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26ddd1750705211537j78ed83fdm921f7f5e5df5c4>