home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / share / doc / usd / 07.Mail / mail1.nr < prev    next >
Encoding:
Text File  |  1991-04-17  |  3.9 KB  |  93 lines

  1. .\" Copyright (c) 1980 The Regents of the University of California.
  2. .\" All rights reserved.
  3. .\"
  4. .\" Redistribution and use in source and binary forms, with or without
  5. .\" modification, are permitted provided that the following conditions
  6. .\" are met:
  7. .\" 1. Redistributions of source code must retain the above copyright
  8. .\"    notice, this list of conditions and the following disclaimer.
  9. .\" 2. Redistributions in binary form must reproduce the above copyright
  10. .\"    notice, this list of conditions and the following disclaimer in the
  11. .\"    documentation and/or other materials provided with the distribution.
  12. .\" 3. All advertising materials mentioning features or use of this software
  13. .\"    must display the following acknowledgement:
  14. .\"    This product includes software developed by the University of
  15. .\"    California, Berkeley and its contributors.
  16. .\" 4. Neither the name of the University nor the names of its contributors
  17. .\"    may be used to endorse or promote products derived from this software
  18. .\"    without specific prior written permission.
  19. .\"
  20. .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  21. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  24. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  25. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  26. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  27. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  28. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  29. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  30. .\" SUCH DAMAGE.
  31. .\"
  32. .\"    @(#)mail1.nr    6.2 (Berkeley) 4/17/91
  33. .\"
  34. .sh 1 Introduction
  35. .pp
  36. .i Mail
  37. provides a simple and friendly environment for sending and receiving mail.
  38. It divides incoming mail into
  39. its constituent messages and allows the user to deal with them
  40. in any order.  In addition, it provides a set of
  41. .i ed -\c
  42. like commands for manipulating messages and sending mail.
  43. .i Mail
  44. offers the user simple editing capabilities to ease the composition
  45. of outgoing messages, as well as providing the ability to define and send
  46. to names which address groups of users.  Finally,
  47. .i Mail
  48. is able to send and receive messages across such networks as the
  49. ARPANET, UUCP, and Berkeley network.
  50. .pp
  51. This document describes how to use the
  52. .i Mail
  53. program to send and receive messages.  The reader is not assumed to
  54. be familiar with other message handling systems, but should be
  55. familiar with the \s-2UNIX\s0\**
  56. .(f
  57. \** \s-1UNIX\s0 is a trademark of Bell Laboratories.
  58. .)f
  59. shell, the text editor, and some of the common \s-2UNIX\s0 commands.
  60. .q "The \s-2UNIX\s0 Programmer's Manual,"
  61. .q "An Introduction to Csh,"
  62. and
  63. .q "Text Editing with Ex and Vi"
  64. can be consulted for more information on these topics.
  65. .pp
  66. Here is how messages are handled:
  67. the mail system accepts incoming
  68. .i messages
  69. for you from other people
  70. and collects them in a file, called your
  71. .i "system mailbox" .
  72. When you login, the system notifies you if there are any messages
  73. waiting in your system mailbox.  If you are a
  74. .i csh
  75. user, you will be notified when new mail arrives if you inform
  76. the shell of the location of your mailbox.  On version 7 systems,
  77. your system mailbox is located in the directory /usr/spool/mail
  78. in a file with your login name.  If your login name is
  79. .q sam,
  80. then you can make
  81. .i csh
  82. notify you of new mail by including the following line in your .cshrc
  83. file:
  84. .(l
  85. set mail=/usr/spool/mail/sam
  86. .)l
  87. When you read your mail using
  88. .i Mail ,
  89. it reads your system mailbox and separates that file into the
  90. individual messages that have been sent to you.  You can then
  91. read, reply to, delete, or save these messages.
  92. Each message is marked with its author and the date they sent it.
  93.