add Berkeley specific copyright
[unix-history] / usr / src / usr.bin / mail / mail.1
CommitLineData
91d7df00 1.\" Copyright (c) 1980 Regents of the University of California.
2470c0cd 2.\" All rights reserved.
91d7df00 3.\"
2470c0cd
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that the above copyright notice and this paragraph are
6.\" duplicated in all such forms and that any documentation,
7.\" advertising materials, and other materials related to such
8.\" distribution and use acknowledge that the software was developed
9.\" by the University of California, Berkeley. The name of the
10.\" University may not be used to endorse or promote products derived
11.\" from this software without specific prior written permission.
12.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
13.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
14.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
15.\"
16.\" @(#)mail.1 6.9 (Berkeley) %G%
91d7df00 17.\"
bb04cec6 18.TH MAIL 1 ""
91d7df00
KM
19.UC 4
20.SH NAME
21mail \- send and receive mail
22.SH SYNOPSIS
23.B mail
24[
692b0644 25.B \-inv
dcee403d
KM
26]
27[
28.B \-s
29subject
30]
31[
692b0644
EW
32.B \-c
33cc-addr
dcee403d
KM
34]
35[
692b0644
EW
36.B \-b
37bcc-addr
dcee403d 38]
692b0644
EW
39to-addr...
40.br
41.B mail
dcee403d 42[
692b0644 43.B \-inv
dcee403d 44]
91d7df00
KM
45.B \-f
46[
47name
48]
dcee403d
KM
49.br
50.B mail
51[
692b0644 52.B \-inv
91d7df00 53]
dcee403d 54[
dcee403d
KM
55.B \-u
56user
692b0644 57]
91d7df00
KM
58.SH INTRODUCTION
59.I Mail
60is a intelligent mail processing system, which has
61a command syntax reminiscent of
62.I ed
63with lines replaced by messages.
64.PP
dcee403d
KM
65The
66.B \-v
67flag puts mail into verbose mode; the details of
68delivery are displayed on the users terminal.
69The
70.B \-i
71flag causes tty interrupt signals to be ignored. This is
72particularly useful when using
73.I mail
74on noisy phone lines.
75The
76.B \-n
77flag inhibits the reading of /usr/lib/Mail.rc.
78.PP
91d7df00 79.I "Sending mail.\ "
bfe02f44 80To send a message to one or more people,
91d7df00 81.I mail
bfe02f44
AH
82can be invoked with arguments which are the names of people to
83whom the mail will be sent. You are then expected to type in
84your message, followed
91d7df00 85by an \s-2EOT\s0 (control\-D) at the beginning of a line.
dcee403d
KM
86A subject may be specified on the command line by using the
87.B \-s
88flag. (Only the first argument after the
89.B \-s
90flag is used as a subject; be careful to quote subjects
692b0644
EW
91containing spaces.) Lists of users to send carbon copies and
92blind carbon copies to may be specified using the
93.B \-c
94and
95.B \-b
96options, respectively. The single argument following the
97flag is taken to be a comma-separated list of names.
91d7df00
KM
98The section below, labeled
99.I "Replying to or originating mail,"
100describes some features of
101.I mail
102available to help you compose your letter.
103.PP
104.I "Reading mail.\ "
dcee403d 105In normal usage
91d7df00
KM
106.I mail
107is given no arguments and checks your mail out of the
108post office, then
dcee403d 109prints out a one line header of each message there.
91d7df00
KM
110The current message is initially the first message (numbered 1)
111and can be printed using the
112.B print
113command (which can be abbreviated \fBp\fR).
114You can move among the messages much as you move between lines in
dcee403d 115.IR ed ,
91d7df00 116with the commands `+' and `\-' moving backwards and forwards, and
dcee403d 117simple numbers.
91d7df00
KM
118.PP
119.I "Disposing of mail.\ "
120After examining a message you can
121.B delete
122(\fBd\fR)
123the message or
124.B reply
125(\fBr\fR)
126to it.
127Deletion causes the
128.I mail
129program to forget about the message.
dcee403d 130This is not irreversible; the message can be
91d7df00
KM
131.B undeleted
132(\fBu\fR)
133by giving its number, or the
134.I mail
135session can be aborted by giving the
136.B exit
137(\fBx\fR)
138command.
139Deleted messages will, however, usually disappear never to be seen again.
140.PP
141.I "Specifying messages.\ "
142Commands such as
143.B print
144and
145.B delete
dcee403d 146can be given a list of message numbers as arguments to apply
91d7df00
KM
147to a number of messages at once.
148Thus ``delete 1 2'' deletes messages 1 and 2, while ``delete 1\-5''
149deletes messages 1 through 5.
150The special name ``*'' addresses all messages, and ``$'' addresses
151the last message; thus the command
152.B top
153which prints the first few lines of a message could be used in
154``top *'' to print the first few lines of all messages.
155.PP
156.I "Replying to or originating mail.\ "
157You can use the
158.B reply
159command to
160set up a response to a message, sending it back to the
161person who it was from.
dcee403d
KM
162Text you then type in, up to an end-of-file,
163defines the contents of the message.
91d7df00
KM
164While you are composing a message,
165.I mail
166treats lines beginning with the character `~' specially.
167For instance, typing ``~m'' (alone on a line) will place a copy
692b0644
EW
168of the current message into the response right shifting it by a tabstop
169(see ``tabstr'' variable, below).
91d7df00
KM
170Other escapes will set up subject fields, add and delete recipients
171to the message and allow you to escape to an editor to revise the
172message or to a shell to run some commands. (These options
dcee403d 173are given in the summary below.)
91d7df00
KM
174.PP
175.I "Ending a mail processing session.\ "
176You can end a
177.I mail
178session with the
179.B quit
180(\fBq\fR)
181command.
182Messages which have been examined go to your
183.I mbox
184file unless they have been deleted in which case they are discarded.
185Unexamined messages go back to the post office.
186The
187.B \-f
188option causes
189.I mail
190to read in the contents of your
191.I mbox
192(or the specified file)
193for processing; when you
dcee403d 194.BR quit ,
91d7df00
KM
195.I mail
196writes undeleted messages back to this file.
dcee403d
KM
197The
198.B \-u
199flag is a short way of doing
200"mail
201.B \-f
202/usr/spool/mail/user".
91d7df00
KM
203.PP
204.I "Personal and systemwide distribution lists.\ "
205It is also possible to create a personal distribution lists so that,
206for instance, you can send mail to ``cohorts'' and have it go
207to a group of people.
208Such lists can be defined by placing a line like
209.IP
dcee403d 210alias cohorts bill ozalp jkf mark kridle@ucbcory
91d7df00
KM
211.PP
212in the file \&.mailrc in your home directory.
dcee403d 213The current list of such aliases can be displayed with the
91d7df00
KM
214.B alias
215.B (a)
216command in
dcee403d 217.IR mail .
91d7df00
KM
218System wide distribution lists can be created by editing
219/usr/lib/aliases, see
220.IR aliases (5)
221and
dcee403d
KM
222.IR sendmail (8);
223these are kept in a different syntax.
91d7df00
KM
224In mail you send, personal aliases will be expanded in mail sent
225to others so that they will be able to \fBreply\fR to the recipients.
226System wide \fIaliases\fR are not expanded when the mail is sent,
227but any reply returned to the machine will have the system wide
228alias expanded as all mail goes through
dcee403d 229.IR sendmail .
91d7df00
KM
230.PP
231.I "Network mail (ARPA, UUCP, Berknet)\ "
dcee403d
KM
232See
233.IR mailaddr(7)
234for a description of network addresses.
91d7df00
KM
235.PP
236.I Mail
dcee403d 237has a number of options which can be set in the
91d7df00
KM
238.I \&.mailrc
239file to alter its behavior; thus ``set askcc'' enables the ``askcc''
240feature. (These options are summarized below.)
241.SH SUMMARY
242(Adapted from the `Mail Reference Manual')
dcee403d 243.PP
91d7df00
KM
244Each command is typed on a line by itself, and may take arguments
245following the command word. The command need not be typed in its
246entirety \- the first command which matches the typed prefix is used.
dcee403d 247For commands which take message lists as arguments, if no message
91d7df00
KM
248list is given, then the next message forward which satisfies the
249command's requirements is used. If there are no messages forward of
250the current message, the search proceeds backwards, and if there are no
251good messages at all,
252.I mail
253types ``No applicable messages'' and
254aborts the command.
255.TP 12n
256.B \-
257Goes to the previous message and prints it out. If given a numeric
258argument
dcee403d 259.IR n ,
91d7df00 260goes to the
dcee403d 261.IR n -th
91d7df00
KM
262previous message and prints it.
263.TP
264.B ?
265Prints a brief summary of commands.
266.TP
267.B !
268Executes the \s-2UNIX\s0 shell command which follows.
269.TP
dcee403d
KM
270.B Print
271(\fBP\fR)
272Like
273.B print
274but also prints out ignored header fields. See also
275.B print
bb04cec6
KM
276,
277.B ignore
dcee403d 278and
bb04cec6 279.B retain.
dcee403d
KM
280.TP
281.B Reply
e7dd39cf 282(\fBR\fR)
dcee403d
KM
283Reply to originator. Does not reply to other
284recipients of the original message.
285.TP
286.B Type
e7dd39cf 287(\fBT\fR)
dcee403d
KM
288Identical to the
289.B Print
290command.
291.TP
91d7df00
KM
292.B alias
293(\fBa\fR) With no arguments, prints out all currently-defined aliases. With one
dcee403d 294argument, prints out that alias. With more than one argument, creates
692b0644 295a new alias or changes an old one.
dcee403d
KM
296.TP
297.B alternates
298(\fBalt\fR)
299The
300.B alternates
301command is useful if you have accounts on several machines.
302It can be used to inform
303.I mail
304that the listed addresses are really you. When you
305.B reply
306to messages,
307.I mail
308will not send a copy of the message to any of the addresses
309listed on the
310.I alternates
311list. If the
312.B alternates
313command is given with no argument, the current set of alternate
314names is displayed.
91d7df00
KM
315.TP
316.B chdir
317(\fBc\fR) Changes the user's working directory to that specified, if given. If
318no directory is given, then changes to the user's login directory.
319.TP
dcee403d
KM
320.B copy
321(\fBco\fR)
322The
323.B copy
324command does the same thing that
325.B save
326does, except that it does not mark the messages it
327is used on for deletion when you quit.
328.TP
91d7df00
KM
329.B delete
330(\fBd\fR) Takes a list of messages as argument and marks them all as deleted.
331Deleted messages will not be saved in
dcee403d 332.IR mbox ,
91d7df00
KM
333nor will they be available for most other commands.
334.TP
335.B dp
336(also \fBdt\fR) Deletes the current message and prints the next message.
337If there is no next message,
338.I mail
339says ``at EOF.''
340.TP
341.B edit
342(\fBe\fR) Takes a list of messages and points the text editor at each one in
343turn. On return from the editor, the message is read back in.
344.TP
345.B exit
346(\fBex\fR or \fBx\fR) Effects an immediate return to the Shell without
347modifying the user's system mailbox, his
348.I mbox
349file, or his edit file in
dcee403d
KM
350.BR \-f .
351.TP
352.B file
353(\fBfi\fR)
354The same as
355.BR folder .
356.TP
357.B folders
358List the names of the folders in your folder directory.
359.TP
360.B folder
361(\fBfo\fR)
362The
363.B folder
364command switches to a new mail file or folder. With no
365arguments, it tells you which file you are currently reading.
366If you give it an argument, it will write out changes (such
367as deletions) you have made in the current file and read in
368the new file. Some special conventions are recognized for
369the name. # means the previous file, % means your system
370mailbox, %user means user's system mailbox, & means
371your \~/mbox file, and +folder means a file in your folder
372directory.
91d7df00
KM
373.TP
374.B from
375(\fBf\fR) Takes a list of messages and prints their message headers.
376.TP
377.B headers
692b0644
EW
378(\fBh\fR) Lists the current range of headers, which is an 18\-message group. If
379a ``+'' argument is given, then the next 18\-message group is printed, and if
380a ``\-'' argument is given, the previous 18\-message group is printed.
91d7df00
KM
381.TP
382.B help
383A synonym for ?
384.TP
385.B hold
386(\fBho\fR, also \fBpreserve\fR) Takes a message list and marks each
387message therein to be saved in the
388user's system mailbox instead of in
dcee403d 389.IR mbox .
91d7df00
KM
390Does not override the
391.B delete
392command.
393.TP
dcee403d 394.B ignore
bb04cec6
KM
395.B N.B.:
396.I Ignore
397has been superseded by
398.I retain.
399.br
dcee403d
KM
400Add the list of header fields named to the
401.IR "ignored list" .
402Header fields in the ignore list are not printed
403on your terminal when you print a message. This
404command is very handy for suppression of certain machine-generated
405header fields. The
406.B Type
407and
408.B Print
409commands can be used to print a message in its entirety, including
410ignored fields. If
411.B ignore
412is executed with no arguments, it lists the current set of
413ignored fields.
414.TP
91d7df00
KM
415.B mail
416(\fBm\fR) Takes as argument login names and distribution group names and sends
417mail to those people.
418.TP
dcee403d
KM
419.B mbox
420Indicate that a list of messages be sent to
421.I mbox
422in your home directory when you quit. This is the default
423action for messages if you do
424.I not
425have the
426.I hold
427option set.
428.TP
91d7df00
KM
429.B next
430(\fBn\fR like \fB+\fR or CR) Goes to the next message in sequence and types it.
431With an argument list, types the next matching message.
432.TP
433.B preserve
dcee403d 434(\fBpre\fR)
91d7df00 435A synonym for
dcee403d 436.BR hold .
91d7df00
KM
437.TP
438.B print
dcee403d
KM
439(\fBp\fR)
440Takes a message list and types out each message on the user's terminal.
91d7df00
KM
441.TP
442.B quit
443(\fBq\fR) Terminates the session, saving all undeleted, unsaved messages in
444the user's
445.I mbox
446file in his login directory, preserving all messages marked with
447.B hold
448or
449.B preserve
450or never referenced
451in his system mailbox, and removing all other messages from his system
452mailbox. If new mail has arrived during the session, the message
453``You have new mail'' is given. If given while editing a
454mailbox file with the
455.B \-f
456flag, then the edit file is rewritten. A return to the Shell is
457effected, unless the rewrite of edit file fails, in which case the user
458can escape with the
459.B exit
460command.
461.TP
462.B reply
dcee403d
KM
463(\fBr\fR)
464Takes a message list and sends mail to the sender and all
465recipients of the specified message.
466The default message must not be deleted.
91d7df00
KM
467.TP
468.B respond
469A synonym for
dcee403d 470.BR reply .
91d7df00 471.TP
bb04cec6
KM
472.B retain
473Add the list of header fields named to the
474.IR "retained list" .
475Only the header fields in the retain list
476are shown on your terminal when you print a message.
477All other header fields are suppressed.
478The
479.B Type
480and
481.B Print
482commands can be used to print a message in its entirety.
483If
484.B retain
485is executed with no arguments, it lists the current set of
486retained fields.
487.TP
91d7df00
KM
488.B save
489(\fBs\fR) Takes a message list and a filename and appends each message in
490turn to the end of the file. The filename in quotes, followed by the line
491count and character count is echoed on the user's terminal.
492.TP
493.B set
494(\fBse\fR) With no arguments, prints all variable values. Otherwise, sets
495option. Arguments are of the form
496``option=value''
bb04cec6 497(no space before or after =) or
91d7df00 498``option.''
692b0644
EW
499Quotation marks may be placed around any part of the assignment statement to
500quote blanks or tabs, i.e. ``set tabstr="-> "''.
91d7df00 501.TP
02c3f688
EW
502.B saveignore
503\fBSaveignore\fP is to \fBsave\fP what \fBignore\fP is to \fBprint\fP
504and \fBtype\fP. Header fields thus marked are filtered out when
505saving a message by \fBsave\fP or when automatically saving to mbox.
506.TP
507.B saveretain
508\fBSaveretain\fP is to \fBsave\fP what \fBretain\fP is to \fBprint\fP
509and \fBtype\fP. Header fields thus marked are the only ones saved
510with a message when saving by \fBsave\fP or when automatically saving to mbox.
511\fBSaveretain\fP overrides \fBsaveignore\fP.
512.TP
91d7df00
KM
513.B shell
514(\fBsh\fR) Invokes an interactive version of the shell.
515.TP
516.B size
517Takes a message list and prints out the size in characters of each
518message.
519.TP
dcee403d
KM
520.B source
521(\fBso\fR)
522The
523.B source
524command reads
525.I mail
526commands from a file.
527.TP
91d7df00
KM
528.B top
529Takes a message list and prints the top few lines of each. The number of
530lines printed is controlled by the variable
531.B toplines
532and defaults to five.
533.TP
534.B type
535(\fBt\fR) A synonym for
dcee403d 536.BR print .
91d7df00
KM
537.TP
538.B unalias
539Takes a list of names defined by
540.B alias
541commands and discards the remembered groups of users. The group names
542no longer have any significance.
543.TP
544.B undelete
634278dc 545(\fBu\fR) Takes a message list and marks each message as
91d7df00
KM
546.I not
547being deleted.
548.TP
634278dc
S
549.B unread
550(\fBU\fR) Takes a message list and marks each message as
551.I not
552having been read.
553.TP
91d7df00
KM
554.B unset
555Takes a list of option names and discards their remembered values;
556the inverse of
dcee403d 557.BR set .
91d7df00
KM
558.TP
559.B visual
560(\fBv\fR) Takes a message list and invokes the display editor on each message.
561.TP
562.B write
b3f2d791
S
563(\fBw\fR) Similar to
564.BR save ,
565except that
566.I only
567the message body (\fIwithout\fP the header) is saved.
568Extremely useful for such tasks as sending and receiving source
569program text over the message system.
91d7df00
KM
570.TP
571.B xit
572(\fBx\fR) A synonym for
dcee403d
KM
573.BR exit .
574.TP
575.B z
576.I Mail
577presents message headers in windowfuls as described under the
578.B headers
579command. You can move
580.IR mail 's
581attention forward to the next window with the
582.B z
583command. Also, you can move to the previous window by using
584.BR z\- .
91d7df00
KM
585.PP
586Here is a summary of the tilde escapes,
587which are used when composing messages to perform
588special functions. Tilde escapes are only recognized at the beginning
589of lines. The name
590``tilde\ escape''
591is somewhat of a misnomer since the actual escape character can be set
592by the option
593.B escape.
594.TP 12n
dcee403d 595.BR ~! command
91d7df00
KM
596Execute the indicated shell command, then return to the message.
597.TP
cb530a2d
KM
598\fB~b\fR name ...
599Add the given names to the list of carbon copy recipients but do not make
600the names visible in the Cc: line ("blind" carbon copy).
601.TP
91d7df00
KM
602\fB~c\fR name ...
603Add the given names to the list of carbon copy recipients.
604.TP
605.B ~d
606Read the file ``dead.letter'' from your home directory into the message.
607.TP
608.B ~e
609Invoke the text editor on the message collected so far. After the
610editing session is finished, you may continue appending text to the
611message.
612.TP
dcee403d
KM
613\fB~f\fR messages
614Read the named messages into the message being sent.
615If no messages are specified, read in the current message.
616.TP
91d7df00
KM
617.B ~h
618Edit the message header fields by typing each one in turn and allowing
619the user to append text to the end or modify the field by using the
620current terminal erase and kill characters.
621.TP
622\fB~m\fR messages
623Read the named messages into the message being sent, shifted right one
624tab. If no messages are specified, read the current message.
625.TP
626.B ~p
627Print out the message collected so far, prefaced by the message header
628fields.
629.TP
630.B ~q
631Abort the message being sent, copying the message to
632``dead.letter''
633in your home directory if
634.B save
635is set.
636.TP
637\fB~r\fR filename
638Read the named file into the message.
639.TP
640\fB~s\fR string
641Cause the named string to become the current subject field.
642.TP
643\fB~t\fR name ...
644Add the given names to the direct recipient list.
645.TP
646.B ~v
647Invoke an alternate editor (defined by the VISUAL option) on the
648message collected so far. Usually, the alternate editor will be a
649screen editor. After you quit the editor, you may resume appending
650text to the end of your message.
651.TP
652\fB~w\fR filename
653Write the message onto the named file.
654.TP
655\fB~\||\|\fRcommand
656Pipe the message through the command as a filter. If the command gives
657no output or terminates abnormally, retain the original text of the
658message. The command
659.IR fmt (1)
660is often used as
661.I command
662to rejustify the message.
663.TP
dcee403d 664.BR ~~ string
91d7df00
KM
665Insert the string of text in the message prefaced by a single ~. If
666you have changed the escape character, then you should double
667that character in order to send it.
668.PP
669Options are controlled via the
670.B set
671and
672.B unset
673commands. Options may be either binary, in which case it is only
bfe02f44 674significant to see whether they are set or not; or string, in which
91d7df00
KM
675case the actual value is of interest.
676The binary options include the following:
677.TP 15n
678.B append
679Causes messages saved in
680.I mbox
681to be appended to the end rather than prepended.
682(This is set in
683/usr/lib/Mail.rc
684on version 7 systems.)
685.TP
686.B ask
687Causes
688.I mail
689to prompt you for the subject of each message you send. If
690you respond with simply a newline, no subject field will be sent.
691.TP
692.B askcc
693Causes you to be prompted for additional carbon copy recipients at the
694end of each message. Responding with a newline indicates your
695satisfaction with the current list.
696.TP
697.B autoprint
698Causes the
699.B delete
700command to behave like
701.B dp
702\- thus, after deleting a message, the next one will be typed
703automatically.
704.TP
dcee403d
KM
705.B debug
706Setting the binary option
707.I debug
708is the same as specifying
709.B \-d
710on the command line and causes
711.I mail
712to output all sorts of information useful for debugging
713.IR mail .
714.TP
715.B dot
716The binary option
717.I dot
718causes
719.I mail
720to interpret a period alone on a line as the terminator
721of a message you are sending.
722.TP
723.B hold
724This option is used to hold messages in the system mailbox
725by default.
726.TP
91d7df00
KM
727.B ignore
728Causes interrupt signals from your terminal to be ignored and echoed as
729@'s.
730.TP
dcee403d
KM
731.B ignoreeof
732An option related to
733.I dot
734is
735.I ignoreeof
736which makes
737.I mail
738refuse to accept a control-d as the end of a message.
739.I Ignoreeof
740also applies to
741.I mail
742command mode.
743.TP
91d7df00
KM
744.B metoo
745Usually, when a group is expanded that contains the sender, the sender
746is removed from the expansion. Setting this option causes the sender
747to be included in the group.
748.TP
dcee403d
KM
749.B nosave
750Normally, when you abort a message with two \s-2RUBOUT\s0,
751.I mail
752copies the partial letter to the file ``dead.letter''
753in your home directory. Setting the binary option
754.I nosave
755prevents this.
756.TP
634278dc
S
757.B Replyall
758Reverses the sense of
759.I reply
760and
761.I Reply
762commands.
763.TP
91d7df00
KM
764.B quiet
765Suppresses the printing of the version when first invoked.
766.TP
dcee403d
KM
767.B verbose
768Setting the option
769.I verbose
770is the same as using the
771.B \-v
772flag on the command line. When mail runs in verbose mode,
773the actual delivery of messages is displayed on he users
774terminal.
91d7df00
KM
775.PP
776The following options have string values:
777.TP 15n
778EDITOR
779Pathname of the text editor to use in the
780.B edit
781command and ~e escape. If not defined, then a default editor is used.
782.TP
634278dc
S
783PAGER
784Pathname of the program to use in the
785.B more
786command or when
787.I crt
692b0644
EW
788variable is set. The default paginator
789.I more(1)
790is used if this option is not defined.
634278dc 791.TP
91d7df00
KM
792SHELL
793Pathname of the shell to use in the
794.B !
795command and the ~! escape. A default shell is used if this option is
796not defined.
797.TP
798VISUAL
799Pathname of the text editor to use in the
800.B visual
801command and ~v escape.
802.TP
dcee403d
KM
803.B crt
804The valued option
805.I crt
806is used as a threshold to determine how long a message must
807be before
634278dc 808.B PAGER
dcee403d
KM
809is used to read it.
810.TP
91d7df00
KM
811.B escape
812If defined, the first character of this option gives the character to
813use in the place of ~ to denote escapes.
814.TP
dcee403d
KM
815.B folder
816The name of the directory to use for storing folders of
817messages. If this name begins with a `/',
818.I mail
819considers it to be an absolute pathname; otherwise, the
820folder directory is found relative to your home directory.
821.TP
91d7df00
KM
822.B record
823If defined, gives the pathname of the file used to record all outgoing
824mail. If not defined, then outgoing mail is not so saved.
825.TP
692b0644
EW
826.B tabstr
827String used by the ``~m'' tilde escape for tabbing messages, in place of
828the normal tab character (^I). Be sure to quote the value if it contains
829spaces or tabs.
830.TP
91d7df00
KM
831.B toplines
832If defined, gives the number of lines of a message to be printed out
833with the
834.B top
835command; normally, the first five lines are printed.
836.SH FILES
837.if n .ta 2.5i
838.if t .ta 1.8i
839/usr/spool/mail/* post office
840.br
841~/mbox your old mail
842.br
843~/.mailrc file giving initial mail commands
844.br
845/tmp/R# temporary for editor escape
846.br
847/usr/lib/Mail.help* help files
848.br
849/usr/lib/Mail.rc system initialization file
850.br
dcee403d 851Message* temporary for editing messages
91d7df00 852.SH "SEE ALSO"
dcee403d
KM
853binmail(1), fmt(1), newaliases(1), aliases(5),
854.br
855mailaddr(7), sendmail(8)
91d7df00
KM
856.br
857`The Mail Reference Manual'
dcee403d
KM
858.SH BUGS
859There are many flags that are not documented here. Most are
860not useful to the general user.
861.br
862Usually,
863.I mail
864is just a link to
865.IR Mail ,
866which can be confusing.
91d7df00
KM
867.SH AUTHOR
868Kurt Shoens
692b0644 869