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.