LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-05-2009, 06:23 AM   #1
tester2k2002
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
Sendmail 2 servers one domain name


Dear all,

Hope to have your input as I am new to sendmail

MX to mailforwarder
mailforwarder will forward emails to serverA and if user not found will forward the mail to ServerB

ServerB will receive the email for user that was not in ServerA and store it locally.

Domain for server A and B is domain.com

so both users in A and B will have an email address of A@domain.com and B.domain.com

The server A configuration behave as it should be. It will forward email to Server B if the user is not in Server A

Problem:
How do I configure sendmail in Server B to

1. Any email received from serverA to be stored locally in B and any outgoing email from users in ServerB relay to mailforwarder

2. If users in Server B sending email to another user that resides in Server A, relay the email to mailforwarder

3. If users in server B sending email to another user that resides in the same Server B, it will locally save it to the sent user mailbox.

Some examples of the configuration and files needed to do this would be appreciated.
 
Old 11-20-2009, 02:20 PM   #2
EdHeron
LQ Newbie
 
Registered: Oct 2009
Location: Albuquerque, NM USA
Distribution: Gentoo, CentOS
Posts: 8

Rep: Reputation: 0
What you are describing is interesting, but I haven't tried to do that.

I have multiple servers serving a single domain. I solve the issue by making the primary e-mail address an alias to a subdomain address.

For example, user1's email address is user1 @ domain.com. user1's mailbox is on server a. On both server a and server b, we add an alias
Code:
user1@domain.com user1@a.domain.com
user2's address is user2 @ domain.com and the mailbox is on server b, so add an alias
Code:
user2@domain.com user2@b.domain.com
I think that what you'd end up with is functionally similar to what you desire. The downside is when you add or move a user, you'd need to add/change the alias.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One domain-two servers centosfan Linux - Server 2 01-23-2008 06:48 PM
Access Domain Servers midnytblu Red Hat 3 03-02-2007 05:06 AM
Two (or more) mail servers for one domain saf Linux - Server 8 12-11-2006 03:12 AM
Samba 3.0.21a and Samba Domain Member Servers in a Windows 2003 ADS Domain ramz Linux - Networking 3 04-09-2006 09:26 PM
Sendmail sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 05:32 PM


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

Main Menu
 
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
Open Source Consulting | Domain Registration