Our webserver just changed its name from old.example.com to new.example.com. There is already a mail domain called new.example.com on another server. Now sendmail is confused, because it considers any firstname.lastname@example.org to be local, so we cannot send mails to the actual mail server. I'm trying to teach sendmail to see a different domain as local, but all my attempts have failed. I never really worked with sendmail, so I don't know much about how to configure it.
define(confDOMAIN_NAME, other.example.com)dnl to
sendmail.mc and restarted the service, but it doesn't seem to make any difference. It still uses the machines hostname as local domain. Can anyone point me in the right direction here?