Email aliases with exim: Difference between revisions
Greg.ebdon (talk | contribs) (began page, may update further before publishing) |
(No difference)
|
Revision as of 23:07, 3 May 2012
YSTV makes extensive use of aliases in its email system (run on exim). At any one time there is only one email mailbox per server account'd user in YSTV (e.g. john.smith@ystv.co.uk
), with the exception of a couple of special ones for Computing use. If a person assumes a committee position (e.g. Time Lord), an alias will be created in order that all mail sent to time.lord@ystv.co.uk
is delivered to john.smith@ystv.co.uk
.
For the main committee positions, these aliases are permanently in place - at changeover of the position, the real user it points to is changed by the Computing Officer in the aliases file at /etc/aliases
on \\ystvweb.
The structure of the file is:
# *******section title******** alias: address
Adding aliases
- SSH into ystvweb.
- Open the aliases file for editing:
sudo nano /etc/aliases
- To add an alias, find the appropriate section and put it on a new line:
time.lord: john.smith
- Mail can be split and sent to several addresses separated by commas:
time.lord: john.smith,the.oncoming.storm,caretaker
- Mail can be aliased to non-YSTV email addresses, just write out the full address.
- To throw mail sent to an alias into oblivion, point it to :blackhole: as:
the.master: :blackhole:
- Mail can be split and sent to several addresses separated by commas:
- Save your changes (Ctrl+O in nano).
- Rerun:
sudo newaliases
Trivia
There are some miscellaneous sections kept for amusement, historical purposes or people we don't want to listen to.
charlie
aliases torick
- this is a reference to Charlie Selby, the son of Rick Selby and Sarah Leese, who legend has it was conceived in the station and is hence an honorary member.jesus
used to redirect to Technical Jesus Mike Chislett. He has since had a haircut.