Using intodns.com tools, if you get this error :
MX CNAME Check
WARNING: CNAME was returned for the following MX records:
mail.example.com
The CNAME(s) that were returned are listed above. This is not ok per the RFCs and can cause problems including mail being lost!
MX A request returns CNAME
WARNING: MX records points to a CNAME. CNAMEs are not allowed in MX records, according to RFC974, RFC1034 3.6.2, RFC1912 2.4, and RFC2181 10.3. The problem MX record(s) are:
mail.example.com points to [‘example.com’]
This can cause problems
The MX record should point to an IP address not another FQDN.
so you should change it to an IP and then you should be fine.
nano /etc/named.conf
zone "example.com" {
type master;
file "/var/named/example.com.hosts";
};
nano /var/named/example.com.hosts
mail.example.com 300 IN A 123.123.123.123