Exim Error : lowest numbered MX record points to local host exim
Exim is a message transfer agent (MTA) and widely used an alternative for sendmail.
Sometimes, there is no problem in sending emails but emails are not recieved at recievers end.
The first you should do is to check the exim mainlog using following command
tail -f /var/log/exim_mainlog
If you can see the error as below
2011-04-22 01:30:47 H=mail-xxx-xxx.domain.com [xx.xx.xx.xx]:48944 I=[yy.yy.yy.yy]:25F=<email@domain.com> temporarily rejected RCPT <email@example.com>: lowest numbered MX record points to local host
Fix:
The first thing is to check whether the domain exists under
/etc/localhost
or not.
If not then add the domain under
/etc/localhost
and remember to remove the entry from
/etc/remotedomains
If still you are getting same error then check the resolv.conf file in which DNS used is of same server or not. If it is of same server, and example.com is just using A record to point the domain to your server and all other records are external like MX then just delete the zone file i.e
/var/named/example.com.db
This will fix the issue.
If any feedback, queries are always welcome!