I am running SuSE 8.0 and sendmail8.
I recently set up a dns server and sendmail. I had sendmail running fine, and then suddenly (sometime between 10:30 PM wednesday and thursday morning) messages started bouncing. The log errors read:
SYSERROR(root): MX list for mail.hcmk.net points back to sugar.hcmk.net
my /etc/mail/local-host-names file reads:
#(aliases for localhost)
hcmk.net
www.hcmk.net
ftp.hcmk.net
sugar.hcmk.net
amazonias.org
www.amazonias.org
mail.hcmk.net
and my hcmk.net zone file reads:
$TTL 12H
@ IN SOA ns.hcmk.net. hostmaster.hcmk.net. (
200209152 ; serial, todays date + todays
serial #
8H ; refresh, hours
2H ; retry, hours
1W ; expire, weeks
1800 ) ; minimum, seconds
;
NS ns ; Inet Address of name server
NS dns.fullmers.org.
MX 10 mail ; Primary Mail Exchanger
;
localhost A 127.0.0.1
ns A 166.70.186.50
MX 10 mail
hcmk.net. A 166.70.186.50
MX 10 mail
www CNAME hcmk.net.
sugar CNAME hcmk.net.
ftp CNAME hcmk.net.
mail CNAME hcmk.net.
I tried removing the "mail CNAME hcmk.net." from the dns, but then messages couldn't find the host. I am not sure what the problem is. Maybe it's that both sugar and mail are CNAMEs?
Everything I have found on the internet says tallks about the Cw feature. That feature is enabled and both hosts are in the local-host-names file.
I have been struggling with this for a couple days now. I made some changes to DNS that then resulted in me getting a "message loops back to me" error. Then I made another DNS change, and I got "daemon MTA: problem creating SMTP socket NOQUEUE: SYSERROR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting" (I did not have another instance of sendmail running.)
Note that my DNS server, webserver and mail server are all the same machine.
Any help would be appreciated.
thanks,
h