Moh. Deny Kurniawan wrote/schrieb/scribsit:

> I think imposibble to list thousand host to control/rcpthost because I
> want to allow smtp.x.x.x machine to receive e-mail from everywhere.    

In control/rcpthosts you list hosts you take mail _for_, not from.

A "deny" in tcprules means "I won't let him talk to me at all". For a mail
server of course, this is not an acceptable default if you want to receive
mail from everywhere. By default, qmail will do only that, take mail from
anywhere addressed to itself (listed in rcpthosts) but not to elsewhere.
If, in your case, you want to allow a specific set of hosts to inject mail
on the server, you have to overwrite qmail's default by supplying the
RELAYCLIENT enviroment variable to qmail-smtpd. tcpserver will do that for
you dependant on the client's address. This is what Chris wrote.

Stefan

Reply via email to