?
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
?
389 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 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