Hello.

I have a mail server box, and a web server box sitting behind a
firewall.

All three of these box's are RedHat Linux.  The IP's are as follows. 
The url that these box's serve mail/web for is XXXX.org
        10.0.0.1  -  firewall
        10.0.0.2  -  web server
        10.0.0.3  -  mail server

When I try to send mail from either the firewall or the mail server to
XXXX.org, it gets a "connection refused" error message.  However, when I
send mail from the mail server to XXXX.org (itself), it goes through. 
When sending mail to any other domain from either the web server or the
firewall, it goes through without a problem.

On the firewall I have sent all requests on port 80 and 23 to the web
server, and all requests on port 110, 143, and 25 to the mail server. 
This was done on the INPUT chain of iptables.

Now, I am trying to setup a webmail server on the web server.  I have
tried setting the IMAP url as XXXX.org, the IP, and the internal IP. 
All have the same effect (connection refused).  However, if I setup a
web server on a remote host, and set its IMAP server url to XXXX.org, it
can get the mail without any problem.  The same result if I try to
telnet into the pop server from an external location.

Is there some port that I have to set in the firewall to tell it that
any requests for XXXX.org on the mail ports have to go to the mail
server?  Would this be done by putting a rule on the FORWARD chain?  If
so, what would I type for the chain?  Any help that anyone can provide
would be greatly appreciated.  Thank you in advance.

-Jon Gaudette



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to