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