Now that I have qmail setup I am trying to work through some relaying problems
(most likely operator headspace error on my part).
Here's the scenario: I have clients on multiple class C's that need to send
and receive mail through the mail server. I've found that when mail is being
sent from a client, I need to have an entry in /etc/hosts.allow like
tcp-env: ALL: setenv = RELAYCLIENT
to let mail be sent to hosts that are not in the rcpthosts file. Is this
correct?
What concerns me is that it would seem that anyone can relay through the
server when it is setup that way. When I try using /etc/hosts.allow of the
form:
tcp-env: 1.2.3.: setenv = RELAYCLIENT
then the system will not allow any connections from the outside to the smtp
daemon so no incoming mail is allowed.
I must be missing something obvious and could use some assistance if anyone
can take a moment to point me in the correct direction.
Thanks.
-jeff