LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 05-09-2012, 09:02 AM   #1
kalidoss
Member
 
Registered: Mar 2009
Posts: 50

Rep: Reputation: 0
2 domains for email in DNS


Hello,

I have installed and configured DNS server on RHEL4. My domain name is 'name.dos.govt.com'. I want to configure my domain also as 'name.govt.com' ie.,
2 domains . If mail sent to any one of the domains inside corportate network, it should come. (user@name.dos.govt.com ======= user@name.govt.com )

How it is possible???
 
Old 05-09-2012, 09:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
at a DNS level, you just set an MX record to the right mail server for each domain.
 
Old 05-09-2012, 11:58 AM   #3
kalidoss
Member
 
Registered: Mar 2009
Posts: 50

Original Poster
Rep: Reputation: 0
2 MX->>>> single mail server

Hello,

2 MX records of diffrent domains can point to single mail server (same ip address )?????
 
Old 05-09-2012, 01:10 PM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Quote:
Originally Posted by kalidoss View Post
Hello,

2 MX records of diffrent domains can point to single mail server (same ip address )?????
well, yes !

It just depends how the mail server is configured (mostly postfix and virtual domains, aliases)

It's like google is your friend.
- setup postfix
- virtual hosting with postfix
- postfix + dovecot

Last edited by lithos; 05-09-2012 at 01:33 PM. Reason: added more examples
 
Old 05-09-2012, 01:13 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Googles mail servers are the destination for about 1 trillion billion different domains.
 
Old 05-10-2012, 05:00 AM   #6
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by acid_kewpie View Post
Googles mail servers are the destination for about 1 trillion billion different domains.
and six of them are mine!
 
  


Reply



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
Can't Send Email to other domains nileshgr Linux - Server 6 01-02-2008 03:31 AM
cannot email external domains uks Linux - Networking 3 08-21-2007 10:27 AM
Cant get email from certain domains CEup Linux - Networking 1 10-12-2006 02:33 PM
mutliple email addresses (domains) lenlutz Linux - Networking 2 10-15-2003 06:52 PM
multiple domains - and email hrc Linux - Software 4 08-04-2003 11:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:17 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
Open Source Consulting | Domain Registration