I got a server, which has a hostname example.com I installed sendmail to take care of mail delivery but it's delivering mail to it's self instead of the MX record IP
in my /etc/sendmail/local-host-names it had example.com which I removed and then rebooted.
Sending mail from to other emails works fine, but on this machine when I send email to info@example.com it tries to developer it locally
Any other server I can send email to info@example.com and works fine.