1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

external mail server not working

Discussion in 'E-mail Discussions' started by bmcclure, Aug 12, 2003.

  1. bmcclure

    bmcclure Member

    Joined:
    Apr 12, 2003
    Messages:
    244
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Racine, WI
    We've got a customer who tried to change his MX record to point to an IP address. First there was a problem because it shows up as x.x.x.x.domain.com. instead of just the IP. I changed that manually and it still doesn't work. I've got an A record for mail.domain.com for their server and an MX record for their server. When you try to ping mail.domain.com it gives you our server's IP address, not his mail server. All mail gets returned as well.

    What am I doing wrong?

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Active Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Make sure the zone file looks like this:
    Code:
    @    14400   IN      SOA     ns1.domain.com. admin.domain.com. (
                            2003081201     ; serial, todays date + 1
                            7200           ; refresh, seconds
                            7200           ; retry, seconds
                            1209600        ; expire, seconds
                            3600 )         ; minimum, seconds
    
    customer-domain.com. 14400 IN NS ns1.domain.com.
    customer-domain.com. 14400 IN NS ns2.domain.com.
    customer-domain.com. 14400 IN A  ip.ip.ip.ip
    
    localhost.customer-domain.com.   14400    IN A       127.0.0.1
    
    customer-domain.com. 14400 IN MX 0 mail.customer-domain.com.
    
    mail    14400        IN A        ip.ip.ip.ip
    www     14400        IN CNAME    customer-domain.com.
    ftp     14400        IN A        ip.ip.ip.ip
    Pay special attention to the periods after domain names & hostnames.

    cPanel.net Support Ticket Number:
     
  3. bmcclure

    bmcclure Member

    Joined:
    Apr 12, 2003
    Messages:
    244
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Racine, WI
    Thank you, this was figured out, somehow it kept showing up as ip.ip.ip.ip.domain. which obviously is wrong...

    We ended up manually setting the MX and A records for mail to the IP and it works fine.

    However, the customer was unable to set his MX record through CPanel, we had to do it manually. Why would this be? Thanks.

    cPanel.net Support Ticket Number:
     

Share This Page