#1 (permalink)  
Old 12-01-2007, 10:45 AM
Registered User
 
Join Date: Aug 2006
Posts: 44
Heritz is on a distinguished road
Lowest numbered MX record points to local host

Hello all,

I have a dedicated server with WHM 11.2.0 and CentOS 4.5. Lately, all the emails cannot be delivered because of the following error in the exim_rejectlog:

lowest numbered MX record points to local host

For instance:

2007-11-25 04:34:26 H=s3.computrabajo.co.uk [69.59.28.133] F=<apache@s3.computrabajo.co.uk> temporarily rejected RCPT <gerencia@jobe65.com>: lowest numbered MX record points to local host

Do you guys have any idea about why could be this happening? This happens for all the domains. Every time I restart the DNS service (BIND) the email starts to work perfectly, but after a few days, it starts to bounce everything.

Thanks for your help folks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-01-2007, 09:59 PM
Registered User
 
Join Date: Nov 2007
Posts: 21
rbalaji is on a distinguished road
hi,

login to WHM and go to Main >> DNS Functions >> Edit MX Entry

set MX priority to 0 for the related domain and save.


This will fix the mail issue.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-02-2007, 01:06 PM
Registered User
 
Join Date: Aug 2006
Posts: 44
Heritz is on a distinguished road
Thanks rbalaji.

Actually all the domains in the server have priority 0 for the MX record. But the problem still happens from time to time. Everytime it happens, I just restart the DNS server and the mail starts to work again.

Any ideas?...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 07:41 PM
Registered User
 
Join Date: Aug 2006
Posts: 44
Heritz is on a distinguished road
Hi all,

Just for reference, in case someone else has the same issue:

For some reason, when I create the accounts in my WHM 11.15.0, the file /etc/localdomains is not getting updated. That file is important for some reason for the mail delivery if the MX entry of the domain is pointing to localhost.

So, the solution if you get this error: just go to your WHM, then "Edit DNS Zone", select the domain you want to fix, click "Edit" and then in "Save". That's all. Clicking "Save", will automatically put the entry in the localdomains. Obviously this will fix the error.

I hope it helps, I had a really bad time trying to figure this thing out!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 01:26 PM
Registered User
 
Join Date: Oct 2005
Posts: 34
andren is on a distinguished road
Quote:
Originally Posted by Heritz View Post
Hi all,

Just for reference, in case someone else has the same issue:

For some reason, when I create the accounts in my WHM 11.15.0, the file /etc/localdomains is not getting updated. That file is important for some reason for the mail delivery if the MX entry of the domain is pointing to localhost.

So, the solution if you get this error: just go to your WHM, then "Edit DNS Zone", select the domain you want to fix, click "Edit" and then in "Save". That's all. Clicking "Save", will automatically put the entry in the localdomains. Obviously this will fix the error.

I hope it helps, I had a really bad time trying to figure this thing out!
Thank you, that fixes it.
One would think cpanel would be able to fix it...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-03-2008, 04:20 AM
Registered User
 
Join Date: Oct 2003
Posts: 18
karlos
Smile

Thanks!! it works!!

In my case WHM writes the subdomains of the account but not the main domain
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-19-2008, 04:18 PM
Registered User
 
Join Date: Jul 2003
Posts: 37
seahorse
Quote:
Originally Posted by Heritz View Post
So, the solution if you get this error: just go to your WHM, then "Edit DNS Zone", select the domain you want to fix, click "Edit" and then in "Save". That's all. Clicking "Save", will automatically put the entry in the localdomains. Obviously this will fix the error.

I hope it helps, I had a really bad time trying to figure this thing out!

even though i upgraded to the latest release version...
i have this problem too.... not able to receive emails.

the above solution, edit dns, then save without doing anything.. works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-24-2008, 11:19 AM
Registered User
 
Join Date: Mar 2003
Posts: 20
Apoc
We had this problem today too on one server of a client. What I don't understand is that cPanel doesn't have some kind of script to simply check all the domains on the server (based on cPanel's configuration) and then checks with the localdomains file to see whether it's consistent.

Should be very easy to implement and to be honest I don't understand why it doesn't already have this by default if cPanel relies on the localdomains file for mail and such.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-25-2008, 03:09 PM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
Quote:
Originally Posted by Apoc View Post
We had this problem today too on one server of a client. What I don't understand is that cPanel doesn't have some kind of script to simply check all the domains on the server (based on cPanel's configuration) and then checks with the localdomains file to see whether it's consistent.

Should be very easy to implement and to be honest I don't understand why it doesn't already have this by default if cPanel relies on the localdomains file for mail and such.
You mean like this:

/scripts/checkalldomainsmxs

?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-24-2009, 12:20 PM
Registered User
 
Join Date: Jul 2008
Location: Lansing, MI
Posts: 2
neiderlaander is on a distinguished road
mx record priority 0 issues

Hello all, noob here, go easy on me I recently ran in to a problem with the priority record of 0 being used for an offsite MX server, and when using a priority of 0 while pointing to a non-local host the mail wouldn't work. When setting the priority to 1, the off-site mail flowed normally. I was wondering if the 0 priority ALWAYS points to localhost only? thanks....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 05-07-2009, 01:18 AM
Registered User
 
Join Date: Dec 2007
Posts: 1
jiju is on a distinguished road
MX-priority

Hello,

When you set up MX entries at the DNS, you must be aware that the lowest number has the highest priority. So if the " 0 " is pointed with the domain name itself, it uses the localhost ie the same server on which that domain is hosted. To set a domain to use an external mailbox, MX entry for the same at the DNS should be pointed with " 0 " so that it will get the highest priority. :
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc