On Sat, 7 Dec 2002 10:16:43 -0800 (PST), Caffeinate The World
<[EMAIL PROTECTED]> wrote:
<snipped>
> In /var/qmail/locals and /var/qmail/rcpthosts, I have:
>
> localhost
> mydomain.com
> ns01.mydomain.com
>
> ns01 is the actual SMTP server.
>
> However, I'm still getting the error below. Does this mean that I have
> to setup selective relaying with tcpserver?
Yes, that is exactly what you will need to do.
> If so, why is that
> necessary since qmail currently works fine without it?
Simply put, relaying is non-intuitive. Here is how it is intended to
work...
Imagine a company with multiple domains and web servers. If mail for
domain B arrives at the mail server for domain A, then A has to relay
it over to B. At this point you'd have to tell server A that it is
okay to relay to B.
This is VERY different from what you are doing.
<snipped>
> SMTPRecipientsRefused: {'[EMAIL PROTECTED]': (553, "sorry, that
> domain isn't in my list of allowed rcpthosts (#5.7.1)")}
As you see, you are trying to relay to yahoo.com and yahoo.com is not
in your list. If you wanted to use your list for this purpose, you'd
have to add every domain you'd ever want to send mail *TO*, not
*FROM*.
Adding every domain would be like turning relaying on. This is a very
bad thing because then anyone could use your server to send mail to
anyone.
The solution is use to tcpserver as instructed above so that requests
from localhost may be relayed ANYWHERE but requests from other sources
will not.
Hopefully that explains this admittedly tricky subject a little
better.
Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users