Columbia MM
MM Manual

CREATING AND USING MAILING LISTS

Use a mailing list if you repeatedly send mail to the same group of people. The simplest way to do so, for a short list, is to define a mail alias for the list. For longer lists, it is generally better to keep the list in a separate file, and refer to it directly or by a mail alias.


KEEPING THE LIST IN A MAIL ALIAS: DEFINE

Use the define command at any MM prompt to define a mail alias (nickname) for a short list of addresses. Type define, the mail alias you would like, and the list of addresses. This is exactly the same procedure as defining a nickname for one address.

For example, suppose you regularly have messages to send to three people, the user ids abc6, bcd8 and cde7. You could define an alias name for the group like mystaff. To keep the alias for future use, you must give the save-init command before you stop the MM session.



MM>define mystaff abc6, bcd8, cde7
MM>save-init


Once you have defined an alias, you can use it at any place where you enter an address in MM. If you use display to review the message before sending, you will see the real addresses. You also see the real addresses when you send the message, like this:



S>send
abc6... Queued
bcd8... Queued
cde7... Queued



KEEPING THE LIST IN A SEPARATE FILE

Longer mailing lists should be kept in separate files, so you can edit them efficiently. If you just define a mail alias, as shown above, you can change it only by defining it again, meaning you have to retype the whole list.

The file must contain only mail addresses, separated by commas. You can break to a new line at any comma; putting each address on its own line may simplify editing. You can include comments by putting # before the comments. Blank lines are also allowed.

You may want to use the format real name <address> so you can keep track of the real names of the people. The entire address including the real name will be placed in the To or cc field, but only the address in < > angle brackets will be used for delivery.

This sample has a comment line starting with #, and two of the addresses have the real name followed by the address in < > brackets. Neither of these features is required; you could really just list the addresses. Do not forget the commas between addresses; at the end of the list a comma is optional.



#Mailing list for staff
Aethelred B Cooper <abc6>,
bcd8,
Claudius D Ergo <cde7>


Suppose you name the above file mystaff. To use it as a mailing list, type an @ sign and the name of the file:



MM>send
 To: @mystaff


You can also define a mail alias referring to the file. The preferred form is to use two @ signs:



MM>define mystaff @@mystaff
MM>save-init


Here we have defined a mail alias mystaff to be the addresses in the file mystaff. The alias and the file don't have to have the same name, but it would probably be easier to maintain them if they do. The only advantage to using the alias is that you don't h