Judson Main <[EMAIL PROTECTED]> wrote:
> 
> I have a firewall with qmail installed and is set up as a dumb relayer
> for domain.com to another, internal qmail server.  This is working
> perfectly.

Good.
 
> The inside mail server, (NAT also) is host.domain.com,
> and has this in its /var/qmail/control/locals file:
> 
> domain.com
> host.domain.com
> localhost.domain.com
> 
> However, if I try to send an e-mail to [EMAIL PROTECTED],
> the mail server bounces it back to the firewall, which
> bounces it back to the mail server, and etc., with the
> mail server eventually giving up with this error:
[...]

Did you restart qmail-send after changing locals?

Show us the unedited output of qmail-showctl, and the real bounce
message -- don't obscure your domain information.
 
> ...so it appears that my internal mail server doesn't know who
> [EMAIL PROTECTED] is, which doesn't make any sense whatsoever.

We can't tell if you obscure this.
 
> rcpthosts has many entries, as essentially I use qmail on the
> internal server as a relay (which is fine since it's behind
> the firewall) allowing me to e-mail out to anyone I like
> (otherwise it gives me the standard rcpthosts error - which is also
> probably indicative of the mail server not understanding what
> domain it's supposed to be within).

Nope.  This is indicative that you have failed to understand the purpose
of the rcpthosts file.  You want to enable selective relaying -- search
the list archives.

The rcpthosts file should only list domains for which you are
responsible for mail, not domains you want to send mail to.
 
> /etc/hosts file has:

Doesn't matter.  As is well documented, qmail never uses /etc/hosts.
Ever.

> My only guess is that somehow, since I'm running NAT, and that the
> nattd IPs aren't technically part of the domain, that the mail server
> isn't getting the right answer on the domain resolution.  In sum, it's 
> a DNS problem via NAT.

I think it's a much more basic configuration error.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to