On Mon, Apr 19, 1999 at 09:38:17PM -0300, olli wrote:
> But if I've domain in rcpthosts this domain is able to relay via my
> host.Thus I think that rcpthosts should contain only hostname & aliases
> for it. Am I wrong?
You're wrong. rcpthosts has nothing at all to with who can relay. It is a list
of domains *for* which you're willing to receive mail via SMTP.
If a remote host, during the course of an SMTP conversation, says:
RCPT TO:<[EMAIL PROTECTED]>
then somedomain.com had better be in rcpthosts, or else the mail will be
rejected (unless you've set RELAYCLIENT in qmail-smtpd's environment, which is
how selective relaying is implemented). Whether there exists an actual host
named somedomain.com is irrelevant.
Chris