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-08-2009, 10:23 AM   #1
rasalp
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
Preferred Mail Server


Can anyone help in prioritize my mail server

I have three mail server as below
tnqdns2.tnq.co.in
tnqdns3.tnq.co.in
tnqdns5.tnq.co.in

how to make tnqdns2.tnq.co.in as preferred relay.

Thanks
Rasal
 
Old 05-08-2009, 10:33 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Preference is defined by the DNS MX records for each mail server.

If you're using BIND DNS you modify the zone file for your domain to have the different values:


IN MX 10 tnqdns2.tnq.co.in; Preferred mail server
IN MX 20 tnqdns2.tnq.co.in; Secondary mail server
IN MX 30 tnqdns2.tnq.co.in; Tertiary mail server

It is the number after "MX" that determines preference. The lowest number has the highest preference.

You don't have to use 10, 20 and 30 though most folks do - it allows you to insert other servers in between later if you want.
 
  


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
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
How to connect linux mail server with the exchange mail server nanuseenu Linux - Newbie 4 03-04-2008 03:37 AM
A Preferred Linux OS meant only for FTP Server??? ajeetraina Linux - Server 5 12-04-2007 03:01 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM

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

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