Email aliases with exim: Difference between revisions
Greg.ebdon (talk | contribs) m (fixed some links) |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 20: | Line 20: | ||
== Trivia == | == Trivia == | ||
There are some miscellaneous sections kept for amusement, historical purposes or people we don't want to listen to. | There are some miscellaneous sections kept for amusement, historical purposes or people we don't want to listen to. | ||
*<code>charlie</code> aliases to <code>rick</code> - this is a reference to | *<code>charlie</code> aliases to <code>rick</code> - this is a reference to the son of [[hist:Rick Selby|Rick Selby]] and [[hist:Sarah Leese|Sarah Leese]], who legend has it was conceived in the station and is hence an honorary member. | ||
*<code>jesus</code> used to redirect to Technical Jesus [[hist:Michael Chislett|Mike Chislett]]. He has since had a haircut. | *<code>jesus</code> used to redirect to Technical Jesus [[hist:Michael Chislett|Mike Chislett]]. He has since had a haircut. | ||
[[Category: | [[Category:Tutorials]] | ||
[[Category:Email]] | [[Category:Email]] |
Latest revision as of 09:08, 23 July 2021
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.
- Mail can be aliased to another alias.
- 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).
- Run:
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 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.