Search:
  University Web Sites
  Camden Web Sites

  Computing
  Services:

  About Us
  FAQs
  Office of Information
    Technology (OIT)

  Lab Reservations
  Smart Classrooms

  Jump to:
  Camden Campus
  Camden Web Mail
  myRutgers Portal
  RU Libraries
  RU Main

  Questions
  Comments

Camden Computing Services
  SupportStudentsFaculty and Staff_

Management of System Wide Mailing Lists by Faculty/Staff

Managing a Mailing List


System wide mailing lists are kept in the directory called /usr/local/mail/mlists on crab. One person from each group or department is designated as the list owner. The list owner can add, delete, and modify their list as if the file were in their own directory. New mailing list names must have a - (dash) as part of the name. Questions via email can be sent to help@camden

What a Typical List Looks Like


Here is an example of what a typical mailing list looks like. This example is the Biology Department's list. It is simply a file with a list of email addresses. There is one address per line and each e-mail address is followed by a comma except for the last name.

dstearns@camden,
fogleson@camden,
iomartin@camden,
kreider@camden,
mdmorgan@camden,
nislow@camden,
pmcilroy@camden,
revans@camden,
rimeyer@camden,
safaei@camden,
saidel@camden

The first step that you will take in adding to your list is to sign onto your crab account and change to the proper directory.

Main Menu Commands...

Command
--------
messages
HELP
infoservices
mail
news

file
userinfo
communications
tools

shell
Quit

Purpose
--------
System Messages including Message of the Day.
Menu help and general help (HELP System).
Access Online Library Catalogs & Info.
Send & read electronic mail (email).
Post & read newsgroup articles.

File manipulation tools, including editors/printing.
User information commands.
RUNet & Internet access and file transfer.
Software tools and applications.

Unix shell. Type exit" to return to this menu.
Quits menus.

Main Menu >

At the Main Menu > prompt, you will type in "file" and press the < Enter > key to get the following menu:

File Menu Commands...
Command
--------
help

pwd
cd
ls
more
cp
mv
rm
mkdir
rmdir

edit
print

apropos
man
quit

Purpose
--------
Help with the commands on this menu.

Displays working directory
Change your working directory.
List files.
Display the contents of a file.
Make a copy of a file.
Rename a file.
Delete a file.
Make a new directory.
Remove an empty directory.

Text Editors such as emacs, vi, and editor.
Printing and Printer control

Explore further by locating other related commands.
Read a UNIX manual page for the given command.
Return to previous menu. Control-D exits Lush.

File Menu >

Now you will type in "cd" at the File Menu > prompt. You will prompted with the following question

Enter directory name?

You should type in /usr/local/mail/mlists And then press the < Enter > key. The machine will respond by displaying

Press enter to continue:

You should press the < Enter > key. If you get any other message, check to make sure that you have typed the directory name in exactly as listed. The crab system directory names are case sensitive. You can type ls at the File Menu > prompt if you wish to see all the files in the mailing list directory, however you will only be able to access the one(s) you have permission to access.

Editing Your Mailing List


Now that you are in the proper directory, you can edit your list to add or delete names. First choose edit at the File Menu > prompt. You will see the following Editing Menu:
 

Editing Menu Commands...


Command
--------
help

pico
emacs
vi
editor

ispell
teachemacs

apropos
man
quit

Purpose
--------
Help with the commands on this menu.

Edit a file using pico.
Edit a file using emacs.
Edit a file using vi.
Edit a file using Joe's editor.

Spell check a text file.
An emacs tutorial.

Find a list of related commands.
Read the manual page on a command.
Return to previous menu. Control-D exits Lush.

Editing Menu >

Most crab account holders use pico as their editor so the example will be shown using pico. Next you will type in "pico" At the Editing Menu > prompt.
The computer will prompt you with:

Edit which file(s):

Now you would type in the list name. Make note of your own list name here when you are editing.

For this example, we will use edseries-list, a fictional list.

Edit which file(s):edseries-list

Now we see the screen change to the pico editor:
--------------------------------------------------------------------------------------------------------
UW PICO(tm) 3.2 File: edseries-list

tssmith@camden,
sturdiva@camden,
bilbroug@camden




[ Read 3 lines ]
^G Get Help
^X Exit
^O WriteOut
^J Justify
^R Read File
^W Where is
^Y Prev Pg
^V Next Pg
^K Cut Text
^U UnCut Text
^C Cur Pos
^T To Spell

You should refer to the Pico document if you are unfamiliar with its use. Basically if you want to add names, you would use the arrow keys on your keyboard to move to the end of the last name in the list, type in a And press < Enter > to get to the next line and begin typing the next e-mail address.

NOTE: Remember to type one email address per line and separate all but the last by a comma. Use lowercase letters only.

When you are done adding the email addresses, or deleting and editing changed addresses, you will need to save the file.
To save the file in pico, press Ctrl-X and you will see the following at the bottom of your screen: You should type Y for yes to save.

Save modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?

^C Cancel Y YES
N No

 

The system will display the following: (The name of your list will be displayed here instead of the example's name)

File Name to write: edseries-list
^C Cancel ^T To Files
TAB Complete

The system will tell you how many lines it wrote and you will get the message:

Press enter to continue:

If you press the < Enter > key you will get the Editing Menu >
Now you can type quit at the next 3 prompts and you will be signed off of your crab account.
The list is now ready to use as edited.





Questions/comments regarding Camden Computing Services or this web site
can be directed to: help@camden.rutgers.edu.
Last updated: December 12, 2005, 09:01 EST.

© 2005-2010 Rutgers, The State University of New Jersey. All rights reserved.