Forwarding a users mail to another address is handled by a simple entry
in the aliases file. For example, if you wanted to forward mail for
john to henry...do this.
vi /etc/aliases ( for some common VI commands see here.....)
scroll to the end of the file and your syntax will be as follows:
john: henry
Save the file and run the command newaliases.
This tells sendmail to re-read the changes.
If you were sending mail to an external email address, the syntax would be:
john: henry@hotmail.com
If you were sending mail to multiple addresses, the syntax would be:
john: henry@hotmail.com , sam@hotmail.com , george@hotmail.com
Very simple.
Copyright, eNet Solutions 2006