Email forwarding: Difference between revisions
Greg.ebdon (talk | contribs) (Improved) |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 32: | Line 32: | ||
[[Category:Email]] | [[Category:Email]] | ||
[[Category:Tutorials]] | [[Category:Tutorials]] |
Latest revision as of 09:08, 23 July 2021
Email sent to YSTV accounts is primarily accessible using Webmail, but you can receive it via other methods. The easiest method is IMAP access, however some people prefer to forward their mail.
Forwarding clones every email just before it reaches your Webmail mailbox - one copy proceeds to Webmail as normal, and a .forward
file in your home directory tells the email system to send copies to any other email addresses you specify. To set this up, all you have to do is create the .forward file with the email address(es) you'd like to forward your mail to.
On Windows
- Log in to a YSTV Windows machine as yourself.
- Open Notepad.
- Enter your YSTV username, followed by any additional email addresses to forward your mail to on new lines, for example:
john.smith js500@york.ac.uk
- Do File > Save As...
- Enter
"H:\.forward"
(including the quotes and the .) - Save the file
- Rejoice.
On Linux
- Open up an SSH session to the web server (through PuTTY on Windows or a Terminal on Linux/Mac), using something like
ssh john.smith@ystv.co.uk
or entering john.smith@ystv.co.uk in the PuTTY Host Name field. - Enter your password when prompted.
- Type
nano .forward
and hit Enter. - Follow the instruction in step 3 above
- Press Ctrl-X and then hit Y to save and exit.
- Type
exit
to close the session. - Rejoice.
A note for the Computing Team
Exim gets upset if the .forward file isn't owned by the user and they won't get any mail. If the user creates their own .forward file it'll be fine, but if you create it for them, remember to
chown user:group .forward
once you're done. You'll also need to set permissions:
chmod 0600 .forward
Mailboxes should be 0600, with the uid of the user, and any gid. The parent directory should have the execute flag set for the user, and the uid should be the user.