wolfgang zeikat writes:
> [EMAIL PROTECTED] connects to your qmail via SMTP
> with a mail for [EMAIL PROTECTED]
>
> now qmail checks rcpthosts to find out if whatever.com is a host it
> accepts mail for - for delivery. if yes, it delivers them according to
> your qmail setup.
>
> if not, it checks if the sender's IP address is a relayclient -
>
> if it is a relayclient, qmail forwards the mail to the Mail eXchanger for
> whatever.com
>
> if not, it sends the error "not in my rcpthosts".
Sort of... that's about the same logic function, but the process is
more like this: tcpserver accepts a connection. It checks its rules
file to see whether to allow or deny the connection, and sets any
environment variables listed in the rules file. tcpserver invokes
qmail-smtpd. qmail-smtpd checks the environment for RELAYCLIENT. If
that variable is set, its value is appended to the local part of the
destination address and the message is accepted. Otherwise,
qmail-smtpd checks for the desination domain in rcpthosts: if it's
there, the message is accepted; if it's not, it isn't.
paul