AlphaOne Technology Support Forums
Welcome, Guest. Please login or register.
January 09, 2009, 05:13:41 PM

Login with username, password and session length
Search:     Advanced search
1733 Posts in 827 Topics by 5372 Members
Latest Member: AAEffessemparee
* Home Help Search Login Register
AlphaOne Technology Support Forums  |  SUPPORT CENTER  |  How Do I Questions  |  Topic: Update MX Records to forward mail to external server 0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Update MX Records to forward mail to external server  (Read 2373 times)
Scott Chase
Sr. Member
****
Offline Offline

Posts: 20


go fish


View Profile WWW
Update MX Records to forward mail to external server
« on: July 25, 2006, 10:46:35 PM »

If I need to open a support ticket for this let me know.

One of my clients is offloading the email handling to an outside server (Gmail).  I have been given instructions to change the MX records (actually 7 entries).  If I log in to CPanelXP of the client and go into the MX section, I can only change one line.

My question is how do I make these entries.  The record information from Gmail says to enter a URL and a PRIORITY.  If I go into my hosting account (WHM) and choose to Edit MX Entry, I also only get to "Change MX entry to point to" for 1 item.  If I choose to Edit DNS Zone, I get several lines that I can add MX Entries to but I don't understand the syntax and fields such as TTL. 

Is this the correct place I would add these 7 entries and what format would I enter these records if I want
mydomain.com to point to ASPMX.L.GOOGLE.COM. with a priority of 1
I have a good guess but I would rather not guess when it comes to server/domain configuration settings.

Any MX help would be great.

Thanks

Scott
-----------------------------------------
http://www.chaseserver.com
Logged

Providing managed hosting at
http://www.chaseserver.com
AlphaWolf
AOT Administrator
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
Re: Update MX Records to forward mail to external server
« Reply #1 on: July 26, 2006, 10:32:26 AM »

Hi Scott

OY... because mail is dealt with in many different ways, what we usually tell people to do is ask the end mail server support folks to give them the exact syntax to place in the DNS Zone.  Now we could just use the info they gave you, but we have found that half the time it doesnt work first time outa the box.  This results in 'finger pointing' as to where the problem lies, so our rule of thumb is to take what they give you exactly.  If it doesnt work then, its their job to figure out what they either did wrong on their server end or told you to do wrong on our end.

Just FYI, here is a copy & paste from a very simple article explaining how MX records work.  Having 7 of them...well...that is pretty darn unusual.

peace

Wolf

MX Entries Made Simple
MX entries are used when preparing to send SMTP mail to a remote system. The provide various options for the people who run the remote system related to mail delivery.

MX records are the responsibility for the domain name server. Here's how it works: suppose an SMTP client wants to send an e-mail message to the SMTP server at SANDH.COM. The first thing it should do, before even trying to translate SANDH.COM to an ip address, is to see what MX records exist for SANDH.COM. There don't have to be any -- if there are not then the mail is delivered to SANDH.COM.

Let's suppose that there are MX records for SANDH.COM, and consider a few ways they might work. First, suppose that the kind folks at S&H figured that there ought to be an MX entry, just for the heck of it, and that it should point to their single, main, public computer. What they would do -- and do in fact do -- in this case is place an appropriate entry in their DNS control files so that a single MX "record" is returned for SANDH.COM which points to NG.SANDH.COM, whose IP address is the same as just good ole plain SANDH.COM. Perhaps the curious user would like to see what this looks like; it goes in DB.NAM:

     IN      MX     10 ng.sandh.com.

You can ask your own DNS to find out what the MX entries for SANDH.COM are by using the command "NETCHECK/MX SANDH.COM".

When your SMTP client wants to send mail to dan@sandh.com, it asks its domain name server for the list of MX records associated with the domain "sandh.com". The DNS responds "yes, there is 1: ng.sandh.com". The SMTP client then translates (via another request to the DNS) ng.sandh.com to an ip address and proceeds to connect to the SMTP server at that ip address.

This example underscores the basic mechanism for sending mail from SMTP clients to servers but does little to help justify the existence of MX entries. Let's take another example: our friends at sandh.com now have such a mountain of incoming mail that SMTP clients around the world are often experiencing connection timeouts because the mail server is so busy. To keep up with the traffic, they add a second computer to act as a mail server, and a second record in their DNS control file. The mx entries now look like this:

     IN      MX     10 ng.sandh.com.
     IN      MX     10 bundy.sandh.com.

Let's walk that SMTP client through its mail task again. It needs to send mail to dan@sandh.com, so it asks the DNS for the MX records associated with sandh.com. "Yes", says the eager DNS, "there are two of them: ng.sandh.com and bundy.sandh.com". The client first tries to connect to ng.sandh.com, but the connection times out. So, in a determined effort to deliver the mail, the client tries the next mx entry, translates bundy.sandh.com to an ip address, and -- voila -- the connection is accepted! the mail goes through! The world is saved!

Before we slam into the end of this article, let's take one more example of how MX records can be used. The nice folks at S&H have developed a working relationshipo with the even nicer folks at nashville.com, so that if both the S&H servers are down, the mail can still be delivered to the backup system. The revised MX records now look like this:

     IN      MX     10 ng.sandh.com.
     IN      MX     10 bundy.sandh.com.
     IN      MX     5 nashville.com
Logged

AlphaOne Tech Webmaster Resources
http://www.alphaone-tech.com/resources/
Scott Chase
Sr. Member
****
Offline Offline

Posts: 20


go fish


View Profile WWW
Re: Update MX Records to forward mail to external server
« Reply #2 on: July 26, 2006, 12:20:28 PM »

Thanks Wolf,

That does help some.  The article seems to match up with the brief info they sent me.  I'll try it over a weekend soon.  They said it takes a couple of days for the changes to propogate the system and the weekend seems to be the best time to do that.  If I have problems, I'll get in touch with their tech support.

Thanks again for the help

Scott
-----------------------------------------
http://www.chaseserver.com
Logged

Providing managed hosting at
http://www.chaseserver.com
AlphaWolf
AOT Administrator
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
Re: Update MX Records to forward mail to external server
« Reply #3 on: July 26, 2006, 12:58:56 PM »

Once you get explicit instructions from them, if you need help implementing that, please put in a trouble ticket.  This is the type of thing a sysadmin will need to assist with, so it will take a bit longer for a response.

peace

Wolf
Logged

AlphaOne Tech Webmaster Resources
http://www.alphaone-tech.com/resources/
AlphaWolf
AOT Administrator
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
Re: Update MX Records to forward mail to external server
« Reply #4 on: August 11, 2006, 07:44:45 AM »

Hey Scott

Has this been worked out yet?
Logged

AlphaOne Tech Webmaster Resources
http://www.alphaone-tech.com/resources/
Scott Chase
Sr. Member
****
Offline Offline

Posts: 20


go fish


View Profile WWW
Re: Update MX Records to forward mail to external server
« Reply #5 on: August 11, 2006, 09:27:04 PM »

So far it looks good.  We wanted to wait until the weekend to give it time to propagate through the system.

I went into my WHM account and chose Edit DNS Zone.  I changed 7 MX records according to their (GMail) instructions.  I then went to do a MX Lookup using a utility I found through Google.  Immediately it returned the records I just entered.  So I went ahead and sent a test email and it showed up in my GMail hosted account that I already had setup.  According to the control panel they reported that the MX records are correct.  So it seems to have gone pretty smoothly.  I should know for sure on Monday.

Thanks for the information you gave.

Scott
Logged

Providing managed hosting at
http://www.chaseserver.com
Pages: [1] Go Up Print 
AlphaOne Technology Support Forums  |  SUPPORT CENTER  |  How Do I Questions  |  Topic: Update MX Records to forward mail to external server « previous next »
Jump to:  

Powered by MySQL Powered by PHP AlphaOne Technology Support Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!