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 03-05-2004, 09:49 PM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Sendmail second server/mail forwarding?


Hello all,

Ok. Currently, I live in the same house with my parents. I have a server here which is our web, mail, file, etc server. I use sendmail.

I am moving to a new house, and I will be taking the server there. What I would like to know is this. My father would like to still get his e-mail from locally on the LAN like he does now. Obviously, if I move the server to the new house, he will be getting it remotely by connecting to the server there, and that is what he would like to avoid.

Is it possible to build a new machine for this house and have e-mails that are sent to HIS address be forwarded from the current server (which will be in the new house) to the new machine built here?

What I mean is this. Currently, e-mails are sent to any one family member here: john, chris, nancy, sam, jonathan. But, I now move the server to the new house. John and Nancy remain here. I would like the server in the new house send THEIR e-mails to another machine that I will build here, so that when they check their e-mail, it is actually looking at the new machine here (since THAT is where their mail will end up) instead of going across the web to access the server at my new house.

Is this possible (I'm sure it is), and how do I do it?

Thanks!

Chris
 
Old 03-06-2004, 01:10 AM   #2
andresurzagasti
Member
 
Registered: Sep 2002
Location: Reconquista
Distribution: RedHat, Fedora
Posts: 38

Rep: Reputation: 15
Lightbulb Multiple servers for smtp...

Hi Chris!

Of course that you need if possible.
But, before I can help you please inform:

-are you using in your servers DNS?
-are you using sendmail?
-wich be the media connection between the two servers?

Regards
Andres,
Argentina
 
Old 03-06-2004, 08:39 AM   #3
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Re: Multiple servers for smtp...

Quote:
Originally posted by andresurzagasti
Hi Chris!

Of course that you need if possible.
But, before I can help you please inform:

-are you using in your servers DNS?
Yes

Quote:
Originally posted by andresurzagasti
-are you using sendmail?
Yes
Quote:
Originally posted by andresurzagasti
-wich be the media connection between the two servers?
Cable connection going to each home.

Thanks!

Chris
 
Old 03-11-2004, 06:11 PM   #4
andresurzagasti
Member
 
Registered: Sep 2002
Location: Reconquista
Distribution: RedHat, Fedora
Posts: 38

Rep: Reputation: 15
Post

Hi! Sorry for the delay ...

Imagine that:
-- Server 1: server1.nonexistantdomain.com
-- Server 2: server2.nonexistantdomain.com

User jhon@nonexistantdomain.com exists in Server1, your really mailbox is jhon@server1.nonexistantdomain.com
User laura@nonexistantdomain.com exists in Server2, your really mailbox is laura@server2.nonexistantdomain.com

Server1 and Server2 are up and fully-functionally DNS (with fixed IPs).

Server1 and Server2 handles the mail for domain @litoralnorte.com.ar, but some users exists in Server1 and other users exists in Server2

You need to mantain phisically users only in one server. Ej: if user "jhon" exists at side of Server1, will be only exists at Server1.

Delete the users at the other side.

Next, configure this:
For send mails to laura from the side of Server1:
- /etc/aliases
add the line
laura: laura@server2.nonexistantdomain.com

For send mails to jhon@nonexistantdomain.com from the side of Server2:
- /etc/aliases
add the line
jhon: jhon@server2.nonexistantdomain.com


Exist a very fast method that this, but for your need... can be work OK...
For the outside world, this configuration does not generate any conflicts. The internet users not need to know the real ubication of your users... :P

Im waiting for your comments. You can send messages to my email: andresu at litoralnorte.com.ar

Regards,
Andres S Urzagasti
http://www.litoralnorte.com.ar/

Last edited by andresurzagasti; 04-28-2004 at 07:59 PM.
 
Old 03-11-2004, 07:10 PM   #5
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Original Poster
Rep: Reputation: 30
Thanks,

I'll check it out and get back to you. Seems pretty straightforward. This isn't going to happen for a few months, though. I just wanted to get a jump on learning how to do it!

Chris
 
  


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
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 01:10 PM
Mail forwarding server PepeKa Linux - Newbie 6 06-20-2005 09:53 AM
(Sendmail) Forwarding emails and leaving a copy on the server javiergt Linux - Software 2 03-14-2005 09:02 AM
Creating a Mail Forwarding Server chronom1 Linux - Networking 1 07-09-2004 04:10 PM
mail forwarding problem with sendmail JelloMaster Linux - Software 18 08-14-2003 10:10 AM


All times are GMT -5. The time now is 04:52 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