Putting the ``tcp-env: ALL'' in the /etc/hosts.allow solves the incoming mail
problem, but clients cannot send mail through the mail host since the
destination mail address is not in the rcpthosts file.
I must be missing something obvious somewhere, but I'll be darned if I see it
just yet.
-jeff
On Thu, Jun 17, 1999 at 07:55:28PM +0200, Stefan Paletta wrote:
> Jeffrey Finkelstein wrote/schrieb/scribsit:
> > 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.
>
> You probably need to allow connections from everywhere then.
> Either add
>
> tcp-env: ALL
>
> to hosts.allow or check if you have an
>
> ALL: ALL
>
> in hosts.deny and need it.
>
> Could also be that tcpd denies by default, who knows with tcpd...
>
> Stefan