Mlalias
Summary
mlalias is a locally written program for redirecting email. It can be used to forward your CSE email to another email account e.g. Unimail or Yahoo; to receive email for conferences or research projects; and to operate mailing lists. As mlalias is a component of CSE's Localmail it has hooks into other locally written software, most notably the UDB, which make it very well suited for mailing groups of CSE users. It does not work so well for non-CSE users, especially if you want a non-CSE person to be able to send to or control the list. Look at MailMan for this purpose instead.Forwarding email vs. mailing lists
mlalias is simply a program that takes email sent to a CSE email address and forwards it to all the recipients defined in the mlalias (which means, among other things, it replaces Sendmail's .forward mechanism). An mlalias name must take one of 3 forms:- <username> - where username can be any CSE account
- <username>.<listname> - as above, for private lists and filtering
- other - system mlaliases only.
Setting up a mailing list
If you can login, you can create an mlalias under your username. See RedirectingMail or man mlalias for basic mlalias commands.If you want an mlalias that doesn't have your username attached, email System Support with details as to the reason for the request, the desired name for the mlalias and the list of owners of the mlalias, all of whom must have current CSE accounts.
Managing a mailing list
Adding and removing recipients and owners
Recipients are added and removed with the -a and -d flags respectively; you can simply list the names after the flag. Owners are added and removed with the -A and -D flags respectively and the flag has to be repeated with each owner.Allowing and blocking mail to the list (moderation and authorised posters)
By default an mlalias can be mailed to by anybody, whether they are a CSE user or not. To block unwanted emails you have to:- make the list moderated
- (optional) allow some accounts to send to the list.