Knowledgebase: Web hosting
Which record do I change to have mail point to the seperate smtp server's IP?
Posted by Staff Team, Last modified by on 01 September 2006 09:02 AM
Question: I'm looking at the DNS zone page.. I would like mail to go directly to a seperate server that I have.. so "blabla@mydomain.com" would go directly to my own personal smtp server. My question is there are several DNS records that I don't know the difference between.. Which record do I change to have mail point to the seperate smtp server's IP?!

Answer: Change the following record with your details to change pointing to mail server,

 @ MX (Mail Exchange Record) mail.mydomain.com.[21]

Mail Exchanger [MX] Record - An MX Record identifies the mail server(s) responsible for a domain name. When sending an e-mail to user@xyz.com, your mail server must first look up the MX Record for xyz.com to see which mail server actually handles mail for xyz.com (this could be mail.xyz.com - or someone else's mail server like mail.isp.com). Then it looks up the A Record for the mail server to connect to its IP-address.

An MX Record has a Preference number indicating the order in which the mail server should be used (only relevant when multiple MX Records are defined for the same domain name). Mail servers will attempt to deliver mail to the server with the lowest preference number first, and if unsuccessful continue with the next lowest and so on.

For more information on TXT record please goto http://www.openspf.org/Introduction 
(460 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).