need to configure sendmail to send without hostname
I have a problem where I need to change how sendmail sends mail. Currently, some external domains are rejecting mail because messages are sent from email@example.com where it should be firstname.lastname@example.org.
I found one site where someone posted changing Dj$w.hostname.com to Djhostname.com. I did that and it didn't work. When I sent mail to my account @acme.com it actually put the message in /var/spool/mail even though I don't have a local account. I then sent mail to my hotmail account and it still showed email@example.com (yes i did restart sendmail).
Anyone know how to remove the hostname so it gets sent as just @domain.com?