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 firstname.lastname@example.org >> ~/.forward
where email@example.com is the remote address.
echo firstname.lastname@example.org >> ~/.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, email@example.com >> ~/.forward
where login is the user's CSE login and firstname.lastname@example.org is the remote address.
echo real-coheng, email@example.com >> ~/.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