> This has to be something simple but I've been banging my
> head against it for a couple of hours and can't get
> anywhere. If this is covered in the FAQ, INSTALL or man
> files, I either can't find it or am misunderstanding it.
> The situation:
>
> I have a small home network. I have a designated server,
> corwin.mydomain.org, running qmail on debian 2.2 with kernel
> 2.4.1. I can locally log into corwin, open pine, and send
> and recieve email.
>
> My normal box, merlin.mydomain.org, uses kmail. I have it
> configured to receive email via pop3 from corwin. This
> works fine. I can send mail to [EMAIL PROTECTED] and
> receive it on merlin via corwin. I also have kmail on
> merlin configured to send email via SMTP on corwin.
> However, everything I send gets bounced - relaying denied
> because "that domain isn't in my rcpthosts file." I have
> tried all of the following in my rcpthosts file on corwin:
>
> mydomain.org
> .mydomain.org
> merlin
> merlin.mydomain.org
>
> I'm not sure if it matters but merlin is listed in my hosts
> file on corwin. I can ping either merlin or
> merlin.riddlemaster.org from corwin.
>
> What do I need to do to convince corwin to relay mail from
> merlin? Thanks in advance for any assistance.
If you want corwin to _relay_ mail from merlin, that is not something that
goes in the rcpthosts file - that file should only contain domains that
you want merlin to _accept_ mail for, not relay.
You need to modify your /etc/tcp.smtp file, which controlls
relaying. Don't forget to run tcprules after you change it, to
"compile" it. if you are using the LWQ qmail start file, just do:
/etc.rc.d/init.d/qmail cdb
Actual path may vary with disro/OS.
HTH
--Pete