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.

exim and MX zone

Discussion in 'E-mail Discussions' started by MMarko, Oct 4, 2007.

  1. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Problem: unable to receive emails (mail does not arrive)


    After changing MX from 0 to 10 everything works fine. Right now we have CentOS 5 and on CentOS 4.5 we didn't have these problems.

    Anybody know more about this issue?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are you noticing any errors in your logs? Or are the logs also empty?
     
  3. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    This is log entry when it fails:

    lowest numbered MX record points to local host: domain.com (while verifying <email@domain.com> from host

    temporarily rejected RCPT: lowest numbered MX record points to local host




    Funny thing is some domains work fine with MX 0 entry in dns zone.
     
  4. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Maybe I should emphasize that this only happnes on reseller domains / accounts.
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are there multiple MX records for the domain? Note that 0 is the highest priority, 10 is the lowest priority.
     
  6. cPanelBilly

    cPanelBilly Guest

    Are you changing the MX record to point somewhere different?
     
  7. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    No I'm not changing anything. In fact we were moving servers but DNS changes have been propagated some time ago.



    There were only 1 MX record with 0. I know that these numbers means priority, but log entry tells something different.
     
  8. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    So do you know what meas "temporarily rejected RCPT: lowest numbered MX record points to local host"?

    And why exim thinks that delivery to MX record that points to localhost is bad idea?
     
  9. cPanelBilly

    cPanelBilly Guest

    Is the domain in /etc/localdomains and NOT in /etc/remotedomains?
     
  10. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    Yes, domain is in /etc/localdomains and NOT in /etc/remotedomains
     
  11. cPanelBilly

    cPanelBilly Guest

    Please open a support ticket so we can look into this further. It seems like everything is setup correctly.
     
  12. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    16
    In /etc/remotedomains were main domain of that reseller. Also there were ns1 and ns2 nameservers, so I removed everything from it, because I do not have any remote mail servers.

    Is this ok?




    BTW I forgot, I'm using release tree.
     
  13. ike

    ike Well-Known Member

    Joined:
    Apr 22, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    this is the exact problem i have also. i have a brand new centos 5 server and cpanel 11.15.0 r17665

    none of my email works and everything looks fine. i have another server set up the same way but obvious its running an older cpanel. its 11.8. etc and all the mail works fine. Just for fun i thought id try changing my 0 to 10 and it worked straight away


    LOG: MAIN
    == admin@blah.com R=lookuphost defer (-1): lowest numbered MX record points to local
    host

    was the eror when i tried resending it from the mail queue. the logs said the same.

    as soon as i changed the value from 0-10 ( its my main server email account and the only MX record in the dns zone everything sent fine.

    Thats for the tip. i have been going out of my mind looking at the logs wondering what i was doing wrong.
     
  14. ike

    ike Well-Known Member

    Joined:
    Apr 22, 2003
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    i thought i would just mention this. i did after i changed the mx from 0 to 10 and found it working went looking in my remote domains to find my main NS in there and a couple of domains that should have been in localdomains so after deleting the ns entry and moving the other domains from remote to local, i changed the setting back to 0 from 10 and everything worked great.
     
Loading...

Share This Page