LinuxQuestions.org
Review your favorite Linux distribution.
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 10-04-2004, 03:44 PM   #1
aroop
Member
 
Registered: May 2004
Location: Kolkata, India
Distribution: Red Hat 9
Posts: 50

Rep: Reputation: 15
How to configure DNS for email?


Suppose I have a website with the name of the kind www.machinename.domainname.

I intend to host an email server on another machine accepting email addresses like aroop@machinename.domainname

How can this be done? What is the kind of DNS entry that I need to make?
 
Old 10-04-2004, 04:17 PM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
E-mail servers use the MX record in DNS to determine which server to send an e-mail to based on a domain name. You can specify more than one e-mail server, like a primary/backup.

A typical MX record entry looks like

mydomain.com. IN MX 10 smtp1.mydomain.com.
mydomain.com. IN MX 20 smtp2.mydomain.com.

The 10 and 20 are the priority for that mail server. An MTA like sendmail will deliver to the e-mail server with the lowest priority first (10), if that one is down, it will then try the next highest priorty server (20). Obvioulsy, you would also need an address record (A) for smtp1 and smtp2 that pointed to the IP addresses of your mail servers.
 
Old 10-04-2004, 08:01 PM   #3
syzuhdi
LQ Newbie
 
Registered: May 2002
Location: Sanglang,Kedah,Malaysia
Distribution: Mandrake
Posts: 28

Rep: Reputation: 15
Where to set MX record ???
 
  


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
configure email server digity Linux - Newbie 6 04-15-2005 03:03 PM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM
Sendmail/DNS/no email! JeffreyKunkle Linux - Networking 4 08-30-2004 11:23 AM
exim, email, and dns edfinegan Linux - Software 0 10-05-2003 07:58 PM
dns --> email trouble Cigar Linux - Networking 1 06-05-2003 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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