I have an application that uses sendmail to send out status notifications of its processes . However, the messages are not getting through to most of the folks who need to see them because the “from” address is not internet addressable (for example, firstname.lastname@example.org
). I would rather have it look more like email@example.com
though if necessary, firstname.lastname@example.org
would be acceptable.
I have tried to edit /etc/mail/sendmail.mc file as follows:
Then I ran the following:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
However, it still shows as coming from email@example.com