Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


How to make a personal mail ALIAS

A personal mail alias allows you to define an address that can contain a list
of recipients.  This is useful when you wish to mail a message to a group of
recipients without typing in all the individual addresses.  To use MH aliases,
add the following line to your '.mh_profile' file:

	Aliasfile: aliases

You should put your aliases in a file named 'aliases' file in your 'Mail'
directory.  For a full description of the syntax of the 'aliases' file, you
can read the manual page by using the 'man' command:

	athena%  man mh-alias

or look at the URL http://www.ics.uci.edu/~mh/book/mh/mh.htm 

The general form for the 'aliases' file is:

	; Blank lines and lines beginning with a ; are comments
	;
	< myfile			(include aliases from "myfile")
	file: < unix-file		(include another alias file)
	me:    jdough			(a single user)
	users: jqdoe, jane, rmsmith	(a list of users)

Also, forward references are recognized, but backward references aren't.  This
means that you must make references to a list BEFORE you define the items in
it the list, like this:

	; joeuser is on Athena, zippy and pegray are not
	cohorts: pegray, zippy, joeuser
	pegray: pegray@xx.lcs.mit.edu
	zippy: zippy@nowhere.berkeley.edu

You can verify that you've done everything correctly by using the 'ali'
program, which lists the addresses that an alias expands to:

	athena%  ali cohorts
	pegray@xx.lcs.mit.edu, zippy@nowhere.berkeley.edu, joeuser

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.