Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-13-2004, 11:00 PM   #1
LQ Newbie
Registered: Sep 2004
Location: India
Distribution: redhat 7.2
Posts: 1

Rep: Reputation: 0
accessing mail server from remote


I am using Redhat Linux 7.2 for my organisations Intranet & have moderate knowledge on Linux. Let me give the Configuration. I have setup one Linux Box( as the Gateway for internet Connection. This box has two ethernet cards. one is connected to my LAN network other to the VSAT router of my VSAT Provider for Internet. I have registered Domain name This domain name is now used for mails only. The named service & IPChain are running in this linux box. I have setup another Linux Box( as Mail server in which I set up the Sendmail service and configured the user mailboxes. Also the squid Proxy server is running in this Linux box. All the users can send mail internally as well as to external world. Also they can receive mails from outer world. for this I have configured the Genericstable & Virtusertable in the first linux box. e.g. if a user name is 'bob' then the entry in genercstable is
and in Virtusertable th entry is

Now my Problem is to provide the Mail facility to the users of other office of my organisations which is located farway. My management wants that all the people in that office should have mailboxes in the above mailserver and they can access(send & receive) their mails with the same domain name.
How can I configure for acheiving this result.

Any solutions for this?

Thankx & regards
Old 09-14-2004, 04:40 AM   #2
Senior Member
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
When I had to do a similar setup, I forwarded ports 25 and 110 of our mailserver to the corresponding ports of our firewall. This ensured that the users located at the other premises could connect to the smtp and pop3 servers of our mailserver (supposed that the internet firewall does not block such connections).

Then I configured sendmail on the mailserver to relay mails coming from the remote domain, but masquerade them as if sent from the mailserver's own domain.


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
Procmail: forwarding mail to remote mail account Cadmium Linux - Software 2 01-14-2010 01:05 PM
Accessing remote Linux server via FTP as root user jbsarma Linux - General 4 11-24-2005 03:33 AM
Help needed to send mail using a remote smtp server with php s1mpl1c1ty Programming 4 09-19-2005 12:53 AM
Accessing a remote X server from a Windows machine escordeiro Linux - Software 1 03-23-2005 09:24 PM
Lan Mail Server and remote desktop wato Linux - Networking 2 03-13-2004 12:48 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:57 PM.

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