I have an AIX server which uses Sendmail to send mails if check scripts finds a problem. It has a domain set by the Dj entry such as:
So, when an id sends a mail the recipient will see sender's such as:
However, what we want to do is substitute the user name for the hostname, so the examples above would become:
firstname.lastname@example.org -> email@example.com
firstname.lastname@example.org -> email@example.com
Anyone know if/how this can be done?