This took me a little while to get right.  I use listserv 1.8d and qmail.

rcpthosts has all my usual aliases: localhost, listserv.domain.name,
eachmachine.domain.name, etc.

Then for relaying, I have my entire local subnet in /etc/hosts.allow:

tcp-env: my.sub.net. : setenv RELAYCLIENT

and smtpd in inetd.conf:

smtp    stream  tcp     nowait  qmaild  /path/to/tcp-env        tcp-env
/path/to/qmail-smtpd

The trick is to make ABSOLUTELY sure that -DPROCESS_OPTIONS is enabled for
tcp wrappers.  Even if you think it is, double-check it.

Scott Swanson
Sysadmin, CTW Online
[EMAIL PROTECTED]
http://www.ctw.org/

Reply via email to