- The name of the system you are using is usually found by issuing the
command
hostname
- To send yourself some mail, simply use the mail command such
as
mail my_logon
and fill up the subject line (if any).
Write a line or two, then enter a dot (.) on a line by itself
to finish the main body of the letter.
You may then see a Cc:.
The system is asking if you want to send a complimentary copy to
someone else.
Press the return key, and mail will be sent.
- To send someone else a message, follow the same procedure as outlined
above, but use their logon name for my_logon.
- Assume the remote user is cantin and that his
FULL system name is nrccsb3.di.nrc.ca.
To send him mail,
mail cantin@nrccsb3.di.nrc.ca
is used, and the same procedure outlined above follows.
BUT: your system has to be configured to use mail.
If it is not, contact the Networks Branch of Informatics Services
(993-0240), and ask to talk to the person in charge of UNIX in the
Networks Branch.
Ask that person how to install sendmail.
- When writing a message, a file can be inserted using
~ r filename
on a line by itself (that is ``tilde"-r filename).
- If the message to be sent is already in a file (let's call it
message), and my user name is cantin, I can send
myself that file via mail using
mail -s "Subject of this Message" cantin < message
- Mail can be read using
mail
When reading mail, the current letter can be saved in the folder
folder by issuing the s +folder command.
The plus sign (+) means that the following file is to be a folder.
To reply to yourself, simply enter
r
at the mail command line.
- Any outgoing mail is saved in a file called .record in
your own $HOME/mail directory.
To send the mail to your friend, use the mail command to
read the .record folder, save the message in a file by
itself, and reply to your friend, using the content of the new
file for the body of the message.
- Issue elm to enter the package.
From within the package, ``o" will bring the menu option.
Issue ``u" to go to the user level menu, and press the
space bar for your selection.
Save your selection by pressing the larger-than (>) sign.
- Re-enter elm.
Issue ``a" to bring the aliases menu.
Follow directions elm issues.