On Wed, Mar 01, 2000 at 02:06:17AM -0700, Stephen Bosch wrote:
>
>
> > > 24.:allow,RELAYCLIENT=""
> > > 209.:allow,RELAYCLIENT=""
> > > 192.:allow,RELAYCLIENT=""
> > > 127.:allow,RELAYCLIENT=""
> > > :deny
> > Not only is the deny wrong, but the 192., 24., and 209. are too
> > permissive. They let 3/256ths of the Internet relay off your machine.
>
> Meaning that the operative variable is the RELAYCLIENT portion, not just the
> allow. The server will only relay if the RELAYCLIENT variable is set,
> correct? But I need the allow all at the end to ensure that I can receive
> mail from the outside...
Correct. allow is a directive to tcpserver to ALLOW connect. RELAYCLIENT is
an environment variable set by tcpserver which signals to the inner server
(in this case qmail-smtpd) that relaying is OK.
This could be further used for other stuff if different other environment
variables should be set for the different connected clients depending on ip
and/or net.
/magnus
--
http://x42.com/