Email Forwarding

From ECE Information Technology Services
Revision as of 13:45, 26 June 2018 by Randyg (talk | contribs)
Jump to navigationJump to search

Suppose that you use another email account as your primary account and that you would like all your ECE email to be delivered there.

There are two ways to accomplish this:

  • with directives in .forward files or
  • with directives in .procmailrc files.

Please read How Received Email Is Processed to understand the difference between using .forward and .procmailrc.

Take care not to create a mail forwarding loop. If your other account is also configured to forward mail to your ECE account, the mail servers will keep forwarding messages to each other forever!

In the event that you use your ECE email in connection with work at the University, please be aware that in your role as a UBC employee you are obliged to ensure that all data you may store on servers outside of Canada, such as gmail, is in compliance with requirements laid out in FIPPA, the provincial Freedom of Information and Protection of Privacy Act.

https://universitycounsel.ubc.ca/files/2015/05/Fact-Sheet-Disclosure-Outside-Canada.pdf

https://universitycounsel.ubc.ca/files/2017/05/Fact-Sheet-What-is-Personal-Information.pdf


Using .forward To Forward Email

Create a plain text file in your home directory named .forward containing just the address(es) that you want to forward mail to. If there are multiple destinations, put them on separate lines. For example:

somebody@example.com

To keep a copy in your ECE account while also forwarding the mail, include a line with your username preceded by a backslash:

\myusername
somebody@example.com

Using .procmailrc To Forward Email

Include the following rule in your .procmailrc file:

:0
! somebody@example.com