Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

Forwarding Mail

Herring Jon
Occasional Visitor

Forwarding Mail

How do I foward mail from my root account to another account and keep it on the
root account also.




P.S. This thread has been moevd from HP-UX > General to HP-UX > messaging. - Hp forum moderator

Gregory Donovan
Occasional Visitor

Re: Forwarding Mail

You can accomplish this by making an entry in the /etc/mail/aliases file. There
should be an entry called
#local aliases Under this section there should be an entry called root. After
the colon there should be a space and the the word root then a comma and all of
addresses you wish to send root's mail to. Leave root in this line after the
colon to still receive mail to root on this machine.

#local aliases
root : root,,

Hope this helps.