Solved

Setting up DNS to send mail to another server

Posted on 2003-12-09
2
235 Views
Last Modified: 2010-04-21
I have a customer that host their website with me.  They do not want to use my server for their email, instead, they need a MX record pointing to a different IP address.  Currently, all email sent to them bouces.  Here is what I have setup:

@      14400      IN      SOA      ns3.hosting.com.      andy111.sympatico.ca.      (

                              2003112117

                              600

                              2H

                              4W

                              1D

                              )



customer.com.      14400      IN      NS      ns3.hosting.com.

customer.com.      14400      IN      NS      ns4.hosting.com.

customer.com.      14400      IN      NS      .

customer.com.      14400      IN      A      ###.67.248.107



localhost.customer.com.      14400      IN      A      127.0.0.1



customer.com.      14400      IN      MX      0      customer.com.



www      14400      IN      CNAME      customer.com.

ftp      14400      IN      A      ###.67.248.107

mail      14400      IN      A      ###.204.188.149

Am I missing something here?  Could it just be that DNS has not propagated all the way?

Thanks!
0
Comment
Question by:phark
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 9908152
It looks to me like you want mail sent to  ###.204.188.149 which means that the MX should look like:

        IN MX 0 mail.customer.com.

As it is now mail will be sent to ###.67.248.107
0
 

Author Comment

by:phark
ID: 9908402
Your own the right track.  What I ended up doing was:

Changing the priorty to 10

customer.com.     14400     IN     MX     10     mail.customer.com.

and adding:

customer.com.     14400     IN     MX     100     customer.com.

The above changes worked.  Thanks for your input!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
route 2 traffic streams on single NIC 6 49
AWS - HAProxy- KeepAlived 5 43
CentOS create a user with predefined MD5 Hashed password 17 85
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

810 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