If you want to forward the mail of a particular user, create a file named .forward in their home and add all the forwarding addresses seperated by a comma.
# vi .forward
Insert into .forward: email1@domain1.com, email2@domain2.com
If you want to do the forwarding from the aliases file (only root can do this):
# vi /etc/aliases
# Aliases in this file will NOT be expanded in the header from # Mail, but WILL be visible over networks or from /bin/bellmail. # # >>>>>>>>>> The command "sendmail -bi" must be run after # >> NOTE >> this file is updated for any changes to # >>>>>>>>>> affect sendmail operation.
# Aliases to handle mail to msgs and news nobody: /dev/null root:user1@domain.com
coolcommand: amqsbcg - how to read and output messages on a queue in Websphere MQ
Example: amqsbcg QUEUE_NAME QUEUE_MANAGER
[show me the details]
coolcommand: top - how to display and update information about the top cpu processes
Example: top
[show me the details]
coolcommand: how to mount a filesystem nfs on a remote server in IBM AIX
Example: mount -v'nfs' -n'nfsserver' /remote/dir /local/dir
[show me the details]
coolcommand: runlevel - to find the runlevel in linux
Example: /sbin/runlevel
[show me the details]
coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts