Forwarding Incoming Mail

From CsWiki
Revision as of 09:36, 14 January 2007 by Ephraim (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 user@domain.com >> ~/.forward

where user@domain.com is the remote address.

Example:

  echo george@actcom.co.il >> ~/.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, user@domain.com >> ~/.forward

where login is the user's CSE login and user@domain.com is the remote address.


Example:

  echo real-coheng, george@actcom.co.il >> ~/.forward

Complex Forwarding

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