Originally posted by CretaForce
You can make a new sendmail.cf using a sendmail.mc file. There you can choose the hostname you want to be used by sendmail. Read sendmail's documentation for more information.
Thanks, but my question was: "What is the sendmail setting to pick a different hostname rather than just the first on the list?"