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.
- 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:
- Do File > Save As...
"H:\.forward"(including the quotes and the .)
- Save the file
- Open up an SSH session to the web server (through PuTTY on Windows or a Terminal on Linux/Mac), using something like
ssh firstname.lastname@example.org entering email@example.com in the PuTTY Host Name field.
- Enter your password when prompted.
nano .forwardand hit Enter.
- Follow the instruction in step 3 above
- Press Ctrl-X and then hit Y to save and exit.
exitto close the session.
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.