Forwarding Incoming Mail
Often a user wishes to forward his/her e-mail to a different location either leaving a copy locally at CSE or not.
Forwarding to a Different Address
To forward one's e-mail to a different address and not keep a copy locally, do:
echo email@example.com > ~/.forward
where firstname.lastname@example.org is the remote address.
echo email@example.com > ~/.forward
Forwarding to a Different Address with a Local Copy
If one wishes to forward one's e-mail to a different address, but still keep a copy of the e-mail locally at CSE then do:
echo real-login, firstname.lastname@example.org > ~/.forward
where login is the user's CSE login and email@example.com is the remote address.
echo real-coheng, firstname.lastname@example.org > ~/.forward
For sending vacation messages, see the section on Mail Vacation Messages.
It is also possible to do complex parsing of the incoming mail message and, based on criteria, to either save it to a particular folder, forward it to another recipient or pipe the message to a programme -- all of this requires a different format of the ~/.forward file that is described in the document http://www.exim.org/exim-html-4.66/doc/html/filter.html#CHAPeximfilter