The hosts.allow file is for services that are started through inetd or xinetd. What you need to do is setup sendmail for relaying. You should edit the /etc/mail/access file to include the hosts and whether or not to relay or reject.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.