| Mail Service Overview |
This document is actually about our mailing lists, but here are a few other links:
mail.phas.ubc.ca. /etc/aliases./mail/slist/.etc/Manual
Here's the online version. /mail/slist dist file contains
actual list addresses - accept file contains allowed
poster addresses) .bin, .etc,
.examples, .local) .bin/createlist {listname} list-admin@phas.ubc.ca and .bin/removelist
{listname} (Don't forget to add/delete appropriate entries to /etc/aliases
(see Alias Setup Notes below) .local/make.CLOSED {listname} (to create a list like
the everyone, student lists, ie. accept file can contain a
list name, phas/physics/astro are synonymous, no subscribe/unsubscribe
allowed). See "Local Mods" notes below. /mail/slist/.local
directory. In particular look at the 00PHAS file. mail:/opt/sysadmin/:
passwd/check_lists.pl,check_grads.pl
- Daily scripts to check faculty/staff/postdocs/others/adj-assoc, grads
lists against the contents of the dept. directory, grad
student databases. passwd/check_sessionals.pl - Monthly script
to compare sessionals list with Brownie Point System (BPS). Sends
email notification to hr and cew.slist/eplists.pl - Daily script to generate
the ep* lists from the mail:/home/office/lists/ep*
files dumped from EngPhys MS-Access database (maintained by
Eileen). List location: /mail/slist/ep*/dist slist/palists.pl - Daily script to generate
the pa* lists from the PHAS_programs.csv SIS file (weekly
download to /home/regi/). List location: /mail/slist/pa*/dist
slist/sessionals.pl - Daily script to
generate the
sessionals list from department directory (maintained by HR). On May 16, 2014 all mailman lists were moved from mail.phas.ubc.ca to listserver.phas.ubc.ca
Mailman lists web interface:
https://listserver.phas.ubc.ca/mailman/listinfo
For unadvertised lists, add the list name, for example:
https://listserver.phas.ubc.ca/mailman/listinfo/arpes
Mailman lists are implemented as regular mail aliases ( /etc/aliases)
pointing to the program /usr/lib/mailman/mail/mailman/ with
2 arguements: the particular task, & the name of the list. A related set
of aliases give access to all the available tasks.
rexs: rexs@listserver.phas.ubc.ca rexs-admin: rexs-admin@listserver.phas.ubc.ca rexs-bounces: rexs-bounces@listserver.phas.ubc.ca rexs-confirm: rexs-confirm@listserver.phas.ubc.ca rexs-join: rexs-join@listserver.phas.ubc.ca rexs-leave: rexs-leave@listserver.phas.ubc.ca rexs-owner: rexs-owner@listserver.phas.ubc.ca rexs-request: rexs-request@listserver.phas.ubc.ca rexs-subscribe: rexs-subscribe@listserver.phas.ubc.ca rexs-unsubscribe: rexs-unsubscribe@listserver.phas.ubc.caOn listserver.phas.ubc.ca we need the real aliases setup:
## rexs mailing list (Giorgio Levy) rexs: "|/usr/lib/mailman/mail/mailman post rexs" rexs-admin: "|/usr/lib/mailman/mail/mailman admin rexs" rexs-bounces: "|/usr/lib/mailman/mail/mailman bounces rexs" rexs-confirm: "|/usr/lib/mailman/mail/mailman confirm rexs" rexs-join: "|/usr/lib/mailman/mail/mailman join rexs" rexs-leave: "|/usr/lib/mailman/mail/mailman leave rexs" rexs-owner: "|/usr/lib/mailman/mail/mailman owner rexs" rexs-request: "|/usr/lib/mailman/mail/mailman request rexs" rexs-subscribe: "|/usr/lib/mailman/mail/mailman subscribe rexs" rexs-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe rexs"An appropriate snippet for inclusion into
/opt/sysadmin/aliases/realaliases
can be made with a perl script /opt/sysadmin/aliases/mk-mm-list-aliases
as:
/opt/sysadmin/aliases/mk-mm-list-aliases listname "List Owner"
listserver:/var/lib/mailman/lists /var/lib/mailman/lists
directory. /usr/lib/mailman/bin directory. /usr/lib/mailman/bin/list_members {listname}
One can manage the lists through the webform listserver.phas.ubc.ca/mailman
and logging in with the master password.
cd /usr/lib/mailman/ ./bin/newlist {listname} (you will be
prompted to enter the email
address of the list administrator); ./bin/rmlist {listname} /etc/aliases
(see Alias Setup Notes below).
http://listserver.phas.ubc.ca/mailman/admin/{listname}
You can use the Mailman admin password to get to any list's
administration page. lists
sub-directory of users' mail home
directories (by convention). /mail/$HOME/lists
directory (eg. mylist.list) with one address per line.
The file needs to be world-readable. mylist:
:include:/home/map/lists/mylist.list\" to /etc/aliases (see Alias Setup Notes below). In the alias file create the alias as
testfile: /mail/home/grieve/TestAliasFile
(see Alias Setup Notes below) then create the
with group ownership of "mail" & group write permission
[grieve@mail ~]$ ls -l TestAliasFile -rw-rw---- 1 grieve mail
3061 Jul 25 16:59 TestAliasFile
. Then this "file" can be subscribed to in Thunderbird, for example,
& then the mail client can manage the mail. Thunderbird also has
the provision for multiple identities, so it simple to reply with the
correct "from" address.
Procedure for handling /etc/aliases files on our email server:
All system-wide aliases and email lists are defined on mail.
To add a new alias (eg. nickname or email list):
- edit: mail:/opt/sysadmin/aliases/realaliases
- run: mail:/opt/sysadmin/aliases/validaliases.pl
(or wait for the cronjob that runs it every 15 min. 6am-6pm)
mail:/opt/sysadmin/aliases/validaliases.pl:
- builds new alias files for all servers and if different from previous
one will write/copy to appropriate server and run newaliases.
Reasons for maintaining /etc/aliases via a script:
(1) mail,beta: need to know all valid usernames (ie. combination of /etc/passwd and /etc/aliases)
(2) server-specific aliases required for certain accounts (eg. root)