Saturday December 30 2000 20:59, Jeff Lacy wrote to All:
JL> make xinetd relay, then it is really simple. You must use the
JL> only_from option and the env option The important one is the env
JL> option. My smtp thing looks like this:
JL> # default: on
JL> service smtp
JL> {
JL> disable = no
JL> socket_type = stream
JL> protocol = tcp
JL> wait = no
JL> user = qmaild
JL> server = /var/qmail/bin/tcp-env
JL> server_args = /var/qmail/bin/qmail-smtpd
JL> only_from = 192.168.0.0
JL> env = RELAYCLIENT=""
With the last line as is, the messages get bounced, because 'domain
<domain.com""> cannot be found'. Removing the "" seems to cure it.
KS