You need BOTH lines in /etc/hosts.allow!!!!!

tcp-env: 1.2.3.: setenv = RELAYCLIENT
tcp-env: ALL

On Thu, 17 Jun 1999, Jeffrey Finkelstein wrote:

> 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
> 

---------------------------------
Timothy L. Mayo                         mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/

The National Business Network Inc.      http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA  15146
(412) 810-8888 Phone
(412) 810-8886 Fax

Reply via email to