The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Forwarded MX record gets denied?

Discussion in 'General Discussion' started by scoy, Aug 21, 2002.

  1. scoy

    scoy Member

    Joined:
    Mar 10, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    i have an account on the server that has its MX record forwarded to an external IP address where they run their own mail server. The client recieves email fine from all sources except for any account on that machine. This is a problem because all of our support emails are hosted on that machine, and we cannot send/recieve support issue emails. any idea what could be causing this?
     
  2. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    you have to remove that domain from the localdomains file.
     
  3. scoy

    scoy Member

    Joined:
    Mar 10, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    doesnt seemed to have worked

    I removed domain.com and www.domain.com from /etc/localdomains and then sent a test email out to the client. the email gets stuck in the mail que will the following error:

    Message 17hXBP-0007uC-00 is not frozen
    delivering message 17hXBP-0007uC-00
    LOG: 0 MAIN
    == user@domain.com R=lookuphost defer (-1): host lookup did not complete
     
  4. scoy

    scoy Member

    Joined:
    Mar 10, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    i had an error in my named.conf. i fixed that and tried again and now the error i get back is...

    all relevant MX records point to non-existent hosts:
    it appears that the DNS operator for this domain has installed an invalid MX record with an IP address instead of a domain name on the right hand side


    ...this is true, the MX record for domain.com is an IP number. The machine is a w2k server running exchange. it doesn't have a domain assigned to it so i put the IP address in. Does that machine need a domain?
     
  5. nitromax

    nitromax Well-Known Member

    Joined:
    Feb 12, 2002
    Messages:
    189
    Likes Received:
    0
    Trophy Points:
    16
    Having the same problem...

    Hi scoy,

    I am getting the same error as follows:

    jdavis@sarasotabayclub.net
    all relevant MX records point to non-existent hosts:
    it appears that the DNS operator for this domain has installed an invalid MX record with an IP address instead of a domain name on the right hand side.

    Did you find a fix for this. That the sarasotabyclub.net domain name is hosted by another host and they may have it setup on an IP address instead of a domain. But that's bogus isn't it? It should work either way.

    Please let me know...

    Thanks in advance!


    UPDATE.... I did find a fix for this. I added the following line to my /etc/exim.conf file toward the top and it works now:

    ######################################################################
    # MAIN CONFIGURATION SETTINGS #
    ######################################################################

    allow_mx_to_ip = true
     
  6. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Definitely not bogus.

    An MX record must must MUST point to a hostname.... always. And that hostname has to be resolving to the nameserver in question where the MX is configured, or the MX will be meaningless and mail will go to a black hole with numerous evil rejection messages.

    If you point an MX to &mail.domain.com&
    ( IN MX 10 mail.domain.com. )

    Then make sure that later in the zone you specify where &mail.domain.com& goes, with an A or CNAME record....
     
Loading...

Share This Page