Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2016, 03:15 AM   #1
LQ Newbie
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
Unhappy 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.
Old 01-10-2016, 12:57 AM   #2
Registered: Jan 2007
Location: Alberta Canada
Distribution: Fedora/Redhat/CentOS
Posts: 70

Rep: Reputation: 19
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:
Old 01-10-2016, 01:56 AM   #3
LQ Newbie
Registered: Jan 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
internal mail server (intranet) slack66 Slackware 1 10-31-2009 05:36 PM
Postfix intranet mail server cbekannan06 Linux - Software 3 03-15-2006 02:14 AM
Linux as Intranet and Mail Server: How? glentium Linux - Networking 2 10-11-2005 06:02 AM
Intranet mail delivery with linux server? PAB Linux - Software 5 04-27-2005 04:38 PM
The best Intranet Mail Server !! hitesh_linux Linux - Networking 8 01-02-2005 09:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration