Mark Douglas <[EMAIL PROTECTED]> wrote:
>
> The server is using a private ip address (192.168.x.x) behind a load
> balancer. The load balancer runs NAT so the server can send data out. The
> load balancer also contains a routable ip address, for which, all traffic
> passes back to the private ip. There is a DNS entry for the routable ip, but
> not for the private ip.
This could be part of the problem.
> The qmail server is setup with the same name as the
> DNS entry for the routable ip. As qmail runs on DNS entries, I would assume
> this would make everything ok. It doesn't. When I telnet to the localhost on
> port 25, I get a connection and it just sits there. No response, ever.
Ever? Or not in the first 60 seconds? Or what?
> Below is the output of qmail-showctl just to make sure I haven't done
> anything wrong. Any suggestions?
This looks good (thanks for including it). What would help would be a copy of
the script you're using to start qmail-smtpd. tcpserver may be trying a
reverse lookup on your IP address and timing out, as well as some other DNS
lookups which happen. They can all be fixed with changes to your qmail-smtpd
script.
Also, are any error messages ending up in the qmail-smtpd log? Does outgoing
mail work? Are there errors in the main qmail log?
I've tried to telnet to the SMTP port myself (thanks for using real DNS
information and not obscuring it), and you seem to be correct -- I've got a
connection, but not the welcome banner, even after several minutes. If it's a
problem with your qmail-smtpd script, there should be errors in the log from
the tcpserver instance for it. Another possibility, I suppose, is that the
load balancer is somehow broken in regards to SMTP?
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------