System-wide aliases are typically stored in /etc/aliases. However, in most xhier-managed systems on campus, you cannot simply edit those files. Instead, you will need to update the appropriate data file in the appropriate xhier package that controls those aliases. If in doubt, the simplest thing may be to send email to the appropriate accounts administration staff (accounts@cs for CS mail aliases and accounts@math for Math aliases). Note: effective June 2012, CSCF staff should create an ST request and assign it to the probable owner (or their manager, if not obvious), rather than using accounts email.
These are typically handled as sponsored aliases in the accounts files. Here is a sample sponsored alias:
$ cat Giesbrecht ... ==== # 2010/06/04 (lfolland) RT#72597 MailAlias: jo60jsc Host: cs-general.cs.private AssignTo: mwg@cs.uwaterloo.ca,daniel@math.carleton.ca ...
2015-05-07: Some steps now need to be done by hand, see: https://cs.uwaterloo.ca/cscf/internal/infrastructure/setups/services/email/how-to-create-new-sponsored-aliases.shtml
CSCF aliases are handled in (at least) three ways:
~cs-adm/controls
files (deprecated)
grep $ALIASNAME /software/cscf-{specific,admin}/export/aliases
, you can assume it's sponsored.
{/fsys1/.software/arch/xhier/maintenance/xh-install if you don't have it in your path)
1) determine if it is a CSCF-sponsored alias controlled by the accounts system: grep $ALIASNAME /software/accounts-master/data/sponsors/CSCF/*
1a) if there are matching lines, then it is sponsored. Note which sponsor file is used (eg., taskgroups
for all of the tg-
aliases).
1b) if it isn't there, perhaps do a ffind aliases | grep '/aliases$' | xargs grep $ALIASNAME
. Detailed further instructions are outside the scope of this guide; please see CF.Accounts or check with accounts@cs
for help.
2) if it is in the sponsors directory, check out the relevant sponsor file and make the update.
3) run cscf:/software/accounts-master/maintenance/sponsor_resources, following the warnings described in the sponsor data accounts documentation.
3a) verify that your change has been incorporated into /software/accounts-master/data/resources/alias/cscf.cs
4) Now follow standard xhier pratices to get the updated accounts master data to mx100.
These have all been moved to the IST mailman server, known by the preferred name of lists.uwaterloo.ca. More information is at MailManCSlists.
See EmailAliases#Updating_CS_not_CSCF_mail_aliase above.
Desired result: an alias address something@cscf.uwaterloo.ca
1) ssh xhier.cs
2) sudo -s
3) Add your changes via:
cs-rsg-something: foo, bar