LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-14-2004, 12:00 AM   #1
tushar_mahakul
LQ Newbie
 
Registered: Sep 2004
Location: India
Distribution: redhat 7.2
Posts: 1

Rep: Reputation: 0
accessing mail server from remote


Hi,

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(xyz.co.in) 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 xyz.co.in. 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(imap.xyz.co.in) 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
bob@imap.xyz.co.in bob@xyz.co.in
and in Virtusertable th entry is
bob@xyz.co.in bob@imap.xyz.co.in

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, 05:40 AM   #2
J_Szucs
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.
 
  


Reply


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


All times are GMT -5. The time now is 08:01 PM.

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