LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to route mail server from intranet? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-route-mail-server-from-intranet-4175563471/)

tasbirnitole 01-09-2016 03:15 AM

How to route mail server from intranet?
 
We have a mail server configured in Ubuntu 12.04 with postfix, dovecot and roundcube. It has two interfaces, one with real IP and one with private LAN IP. Incase of intranet we have branches and head office, head office is connected directly through layer 3 switch and different VLAN and different IP block, branches are connected through core router.
The mail server is working fine with the internet domain and in case of intranet we can browse webmail by the local IP from our head office. But the problem is that the webmail is not accessible from the branches. ICMP reply from branches to server and from server to branch is okay. Trace route from branches to server is okay but from server to branch it can't trace after 2 hop. The webmail page shows broken from branches. Already tested using a simple index html file, it also shows broken page from branch.
The default gateway is towards the real IP. We have some more servers with other applications in this IP block which are working fine from the branches.
As per my troubleshooting it might be the routing issue as the default gateway of the server is towards Internet instead of intranet.
Please help me how to resolve the routing.

anotherlinuxuser 01-10-2016 12:57 AM

You will likely need routes for all the internal networks on the mail server. The route(s) will all point to the layer 3 switch. The switch needs to be accessible from the branches.

The number routes depends on the branch IP blocks.

Here is a link that describes options for adding permanent routes to Ubuntu 12:
http://askubuntu.com/questions/16803...-ubuntu-server

tasbirnitole 01-10-2016 01:56 AM

Yes we have routes for the local networks. The local gateway used is a switch which is reachable from the branches through the core router. Some more windows servers are connected through this switch and they are reachable but still this server is not accessible. We can get ICMP reply from branch but the webmail page is not accessible.


All times are GMT -5. The time now is 12:53 AM.