(Resolved) Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com"

From: vagabond <vagabond_at_blackfoot.net>
Date: Mon, 12 Jun 2023 15:33:54 UTC
Forgot to followup on this in case it's useful to someone in the future.

The error had nothing to do with DNS configuration.

This turned out to be an issue with /etc/mail/local-host-names.  While 
local-host-names did exist and listed all domains for which I wanted to 
accept mail, I had overlooked the fact that local-host-names is a 
sendmail database type file, and had not run "makemap -e hash 
/etc/mail/local-host-names </etc/mail/local-host-names" to create the 
.db file.  If sendmail can't read local-host-names it looks at 
/etc/hosts and does a reverse DNS.

Gary