On Thu, Sep 09, 1999 at 01:04:24PM -0400, Paul Farber wrote:
> I guess I don't fully understand the tcpserver part of it.  I know if the
> domain is not in rcpthosts it will not relay... but if I start tcpserver
> WITHOUT -x it will deny ALL relaying?

You're not understanding some critical details about how tcpserver and qmail
relate to each other.

tcpserver doesn't control relaying in any way.  It just passes a set of
environment variables to qmail-smtpd.  These variables can change based on
rules in the file specified with -x.  

If the RELAYCLIENT variable is not passed to qmail-smtpd, qmail will refuse
to relay mail to hosts not listed in rcpthosts.

You must use -x with the filename of the cdb hash.  Not the flat text file.

Lets get rid of all ambiguity here.

Type the following commands into your server and report back with the
output:

file /etc/qmail-smtpd.cdb
ps auxwww | grep tcpserver

--Adam

Reply via email to