Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How do I point my MX files from a domain name to the e-mail server ip address on a virtual server?

Posted on 2008-06-13
6
Medium Priority
?
391 Views
Last Modified: 2013-12-13
I have a Linux virtual server(I don't own the server, just a section of the total virtual server) with Apache Centos 5, and a Simple Control Panel. My problem is that when I try to send mail to the catchall email address I have setup it comes back with a 553 error, but I can send fine from the web based Squirrel Mail located on the server. I'm wondering how can I point from my domain name's host to the ip address that is linked to my domain name on my virtual server?

I know that I have to change the MX records to point to a file in the A folder, but I'm not sure what to change, or what to change it to. In the MX section for creating new MX records it has four fields; Priority, Host Name, Enter Goes To Address, and TTL. The two original MX records were smtp.secureserver.net and mailstore1.secureserver.net with a priority of 0 and 10 respectively.

I changed the A(Host) file labeled @(only one listed in that section) to point to the particular ip address I have linked with that domain name on the virtual server. That part redirected fine and shows the Apache 2 CentOS test page when I type in my domain name and try to view it. The e-mail however, just won't receive.The e-mail config section of the Simple Control Panel says that you can't receieve properly if the mail server name is wrong, and it lists it as:  

ip-xx-xxx-xx-xxx.ip.secureserver.net ( I  x'ed out the ip numbers)

I'm guessing that since secureserver.net is all over the control panels I use that it's the master servers name, although just for reference the virtual server I have is hosted with godaddy.

Anyone that thinks they can help, let me know if you need any further information.
0
Comment
Question by:ddhutto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 

Author Comment

by:ddhutto
ID: 21781893
I've just changed the two MX records from smtp.secureserver.net and mailstore1.secureserver.net to smtp.mydomain.com and mailstore1.mydomain.com for goes to, and the host is still @ to see if that works. I'm wondering if instead of mailstore1.mydomain.com(or the smtp.mydomain.com) should have the ip address for goes to or a different sub name like mail.mydomain.com or webmail.mydomain.com because to access mail i have to enter mydomain.com/webmail(but not sure if it works on the same principle).
0
 
LVL 3

Expert Comment

by:Xorlev
ID: 21782928
What you want is something along these lines:

yourdomain.net.     14400   IN      A       my.server.ip
yourdomain.net.     14400   IN      MX      0       yourdomain.net.
mail    14400   IN      CNAME   yourdomain.net.

14400 IN MX 0 means it refreshes every 14400 seconds, on the internet, Mail Exchanger record (MX), with a priority of 0 (greatest). That'll direct your mail on that domain to your server.

You can also add

smtp    14400   IN      CNAME   yourdomain.net.
pop3    14400   IN      CNAME   yourdomain.net.

if you like.

0
 

Author Comment

by:ddhutto
ID: 21783412
That's what I read in another post, but I don't understand where the 14400 comes into play-unless you're referring to the TTL(Time To Live). If my calculator is working right, that's 4 hours, but mine lists 1/2 hour, 1 hour, 12 hours, 1 day, 1 week.

This is what I have at this point

A(Host)
Host                                                  Points To                                                                  TTL

@                                                      xx.xxx.xx.xxx(the VPS ip address)                     1 hour

Nothing else in A

Cname(Aliases)
Host                                                  Points To                                                                   TTL

www                                                @                                                                           1 hour
mobilemail                                           mobilemail-v01.prod.mesa1.secureserver.net      1 hour
pda                                                     mobilemail-v01.prod.mesa1.secureserver.net      1 hour
email                                                   email.secureserver.net                                          1 hour
mail                                                     pop.secureserver.net                                            1 hour
pop                                                     pop.secureserver.net                                            1 hour
smtp                                                   smtp.secureserver.net                                           1 hour
ftp                                                      @                                                                             1 hour
webmail                                             webmail.secureserver.net                                       1 hour
e                                                         email.secureserver.net                                            1 hour

MX(Mail Exchange)
Priority        Host                                 Goes To                                                                 TTL

0                  @                                     smtp.mydomain.com                                              1 hour
10                @                                     mailstore1.mydomain.com                                     1 hour

I'm not sure if the one's that go to the secureserver.net  in Cname instead  of my domain are messing with anything, but I didn't want to mess with it in case those did have something to do with my server, since that's where they're located.

From what you see above, what looks like it needs to be changed?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Accepted Solution

by:
Xorlev earned 2000 total points
ID: 21783462
14400 is just what I use. Yes, it is the TTL. You don't need 2 MX records unless you have 2 separate email servers..SMTP doesn't count. You want "Goes to" to be an IP, and "host" to be mail.
0
 

Author Comment

by:ddhutto
ID: 21783586
Works perfect now.

Thanks again!
0
 

Author Closing Comment

by:ddhutto
ID: 31467016
Works perfect now, thanks again.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question