Jochen E. Führing writes:
> But in fact, the domain where the mail is coming
> from IS in rcphosts!

 [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".

 if whatever.com is your domain, you need to include it's IP numbers in
your /etc/tcp.smtp as RELAYCLIENT - an example could be:

127.0.0.1:allow,RELAYCLIENT=""
192.168.0.:allow,RELAYCLIENT=""
:allow

that would have to be adjusted to your IP numbers of course ...

wolfgang

Reply via email to