Sending and receiving secret mail

To send secret mail, at the system command line prompt, use the xsend command in the way shown in the following example.

  1. The mail program must be installed on your system.
  2. A password must have been set up using the enroll command.
Item Description
xsend barbara In this example, secret mail is being addressed to the login name barbara. When you press Enter, a single line editor is used to type the text of the message. When you are finished typing your message, press the Ctrl-D key sequence or a period (.) to exit the mail editor and send the message. The xsend command encrypts the message before it is sent.
  1. To receive secret mail, at your system command line prompt, type:
    mail
    The system displays the list of messages in your system mailbox. The secret mail program sends you a notification that you have received secret mail. The message line will be similar to the following:
    Mail [5.2 UCB] Type ? for help.
    "/usr/spool/mail/linda": 4 messages 4 new
    >N 1 robert Wed Apr 14 15:23 4/182 "secret mail from robert@Zeus"
    The message text directs you to read your secret mail on your host using the xget command.
  2. At the system command line prompt, type:
    xget

    You are prompted for the password that was previously set up using the enroll command. After you type your password, the xget command prompt is displayed, followed by a listing of any secret mail. The mail program is used to display any secret mail. You must enter the q subcommand if you want to leave read and unread messages in the secret mailbox and prevent the xget command from deleting the messages.