Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail senders

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
GB
OK, anyone know if this can be done.

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:

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top