The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 03-26-2008
bsandeep_80 bsandeep_80 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 122
aliasing the TO name in Unix mails

HI All,

I have a small question/clarification/doubt . Does anyone know how to provide alias in the mails that come from Unix servers.

Like i have a Unix server that generates status mails every hour for a scheduled job , it sends me mails with status with the ID in from field as "root@xyzsym.com" ( my server name) .

Some times when i add a new user to this then the new user finds the mails in Junk mail box as this is not a valid mail and this in not in his outlook contacts). Can there be aliasing provided in the mailx command to chnage the to field of the server from 'root@xyzsym.com' to 'alert-status@sym.com' ?

Please let me know


Thanks,
Sandeep