On Mon, 19 Apr 1999, Chris Johnson 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.
WEll,but if I've two domains in rcpthosts:
somedomain1.com
somedomain2.com
any user on somedomain1.com able to send any mail to any user on
somedomain2.com & vise versa.That's not good,especialy if U're using
.com & .net as a wildcard.This is a kind of mail relay. That what I meant by 
"this domain is able to relay".


Bye.Olli.

Reply via email to