xref: /original-bsd/usr.bin/mail/mail.1 (revision 730930d2)
1.\" Copyright (c) 1980, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)mail.1	8.3 (Berkeley) 05/05/94
7.\"
8.Dd
9.Dt MAIL 1
10.Os BSD 4
11.Sh NAME
12.Nm mail
13.Nd send and receive mail
14.Sh SYNOPSIS
15.Nm mail
16.Op Fl iInv
17.Op Fl s Ar subject
18.Op Fl c Ar cc-addr
19.Op Fl b Ar bcc-addr
20.Ar to-addr...
21.Nm mail
22.Op Fl iInNv
23.Fl f
24.Op Ar name
25.Nm mail
26.Op Fl iInNv
27.Op Fl u Ar user
28.Sh INTRODUCTION
29.Nm Mail
30is an intelligent mail processing system, which has
31a command syntax reminiscent of
32.Xr \&ed 1
33with lines replaced by messages.
34.Pp
35.Bl -tag -width flag
36.It Fl v
37Verbose mode.
38The details of
39delivery are displayed on the user's terminal.
40.It Fl i
41Ignore tty interrupt signals.
42This is
43particularly useful when using
44.Nm mail
45on noisy phone lines.
46.It Fl I
47Forces mail to run in interactive mode even when
48input isn't a terminal.
49In particular, the
50.Sq Ic \&~
51special
52character when sending mail is only active in interactive mode.
53.It Fl n
54Inhibits reading
55.Pa /etc/mail.rc
56upon startup.
57.It Fl N
58Inhibits the initial display of message headers
59when reading mail or editing a mail folder.
60.It Fl s
61Specify subject on command line
62(only the first argument after the
63.Fl s
64flag is used as a subject; be careful to quote subjects
65containing spaces.)
66.It Fl c
67Send carbon copies to
68.Ar list
69of users.
70.It Fl b
71Send blind carbon copies to
72.Ar list .
73List should be a comma-separated list of names.
74.It Fl f
75Read in the contents of your
76.Ar mbox
77(or the specified file)
78for processing; when you
79.Ar quit  ,
80.Nm mail
81writes undeleted messages back to this file.
82.It Fl u
83Is equivalent to:
84.Pp
85.Dl mail -f /var/spool/mail/user
86.El
87.Ss Sending mail
88To send a message to one or more people,
89.Nm mail
90can be invoked with arguments which are the names of people to
91whom the mail will be sent.
92You are then expected to type in
93your message, followed
94by an
95.Sq Li control\-D
96at the beginning of a line.
97The section below
98.Ar Replying to or originating mail ,
99describes some features of
100.Nm mail
101available to help you compose your letter.
102.Pp
103.Ss Reading mail
104In normal usage
105.Nm mail
106is given no arguments and checks your mail out of the
107post office, then
108prints out a one line header of each message found.
109The current message is initially the first message (numbered 1)
110and can be printed using the
111.Ic print
112command (which can be abbreviated
113.Ql Ic p ) .
114You can move among the messages much as you move between lines in
115.Xr \&ed 1 ,
116with the commands
117.Ql Ic \&+
118and
119.Ql Ic \&\-
120moving backwards and forwards, and
121simple numbers.
122.Pp
123.Ss Disposing of mail.
124After examining a message you can
125.Ic delete
126.Ql Ic d )
127the message or
128.Ic reply
129.Ql Ic r )
130to it.
131Deletion causes the
132.Nm mail
133program to forget about the message.
134This is not irreversible; the message can be
135.Ic undeleted
136.Ql Ic u )
137by giving its number, or the
138.Nm mail
139session can be aborted by giving the
140.Ic exit
141.Ql Ic x )
142command.
143Deleted messages will, however, usually disappear never to be seen again.
144.Pp
145.Ss Specifying messages
146Commands such as
147.Ic print
148and
149.Ic delete
150can be given a list of message numbers as arguments to apply
151to a number of messages at once.
152Thus
153.Dq Li delete 1 2
154deletes messages 1 and 2, while
155.Dq Li delete 1\-5
156deletes messages 1 through 5.
157The special name
158.Ql Li \&*
159addresses all messages, and
160.Ql Li \&$
161addresses
162the last message; thus the command
163.Ic top
164which prints the first few lines of a message could be used in
165.Dq Li top \&*
166to print the first few lines of all messages.
167.Pp
168.Ss Replying to or originating mail.
169You can use the
170.Ic reply
171command to
172set up a response to a message, sending it back to the
173person who it was from.
174Text you then type in, up to an end-of-file,
175defines the contents of the message.
176While you are composing a message,
177.Nm mail
178treats lines beginning with the character
179.Ql Ic \&~
180specially.
181For instance, typing
182.Ql Ic \&~m
183(alone on a line) will place a copy
184of the current message into the response right shifting it by a tabstop
185(see
186.Em indentprefix
187variable, below).
188Other escapes will set up subject fields, add and delete recipients
189to the message and allow you to escape to an editor to revise the
190message or to a shell to run some commands.
191(These options
192are given in the summary below.)
193.Pp
194.Ss Ending a mail processing session.
195You can end a
196.Nm mail
197session with the
198.Ic quit
199.Ql Ic q )
200command.
201Messages which have been examined go to your
202.Ar mbox
203file unless they have been deleted in which case they are discarded.
204Unexamined messages go back to the post office.
205(See the
206.Fl f
207option above).
208.Pp
209.Ss Personal and systemwide distribution lists.
210It is also possible to create a personal distribution lists so that,
211for instance, you can send mail to
212.Dq Li cohorts
213and have it go
214to a group of people.
215Such lists can be defined by placing a line like
216.Pp
217.Dl alias cohorts bill ozalp jkf mark kridle@ucbcory
218.Pp
219in the file
220.Pa \&.mailrc
221in your home directory.
222The current list of such aliases can be displayed with the
223.Ic alias
224command in
225.Nm mail  .
226System wide distribution lists can be created by editing
227.Pa /etc/aliases ,
228see
229.Xr aliases  5
230and
231.Xr sendmail  8  ;
232these are kept in a different syntax.
233In mail you send, personal aliases will be expanded in mail sent
234to others so that they will be able to
235.Ic reply
236to the recipients.
237System wide
238.Ic aliases
239are not expanded when the mail is sent,
240but any reply returned to the machine will have the system wide
241alias expanded as all mail goes through
242.Xr sendmail  .
243.Pp
244.Ss Network mail (ARPA, UUCP, Berknet)
245See
246.Xr mailaddr 7
247for a description of network addresses.
248.Pp
249.Nm Mail
250has a number of options which can be set in the
251.Pa .mailrc
252file to alter its behavior; thus
253.Dq Li set askcc
254enables the
255.Ar askcc
256feature.
257(These options are summarized below.)
258.Sh SUMMARY
259(Adapted from the `Mail Reference Manual')
260.Pp
261Each command is typed on a line by itself, and may take arguments
262following the command word.
263The command need not be typed in its
264entirety \- the first command which matches the typed prefix is used.
265For commands which take message lists as arguments, if no message
266list is given, then the next message forward which satisfies the
267command's requirements is used.
268If there are no messages forward of
269the current message, the search proceeds backwards, and if there are no
270good messages at all,
271.Nm mail
272types
273.Dq Li No applicable messages
274and
275aborts the command.
276.Bl -tag -width delete
277.It Ic \&\-
278Print out the preceding message.
279If given a numeric
280argument
281.Ar n  ,
282goes to the
283.Ar n Ns 'th
284previous message and prints it.
285.It Ic \&?
286Prints a brief summary of commands.
287.It Ic \&!
288Executes the shell
289(see
290.Xr sh 1
291and
292.Xr csh 1 )
293command which follows.
294.It Ic Print
295.Pq Ic P
296Like
297.Ic print
298but also prints out ignored header fields.
299See also
300.Ic print ,
301.Ic ignore
302and
303.Ic retain .
304.It Ic Reply
305.Pq Ic R
306Reply to originator.
307Does not reply to other
308recipients of the original message.
309.It Ic Type
310.Pq Ic T
311Identical to the
312.Ic Print
313command.
314.It Ic alias
315.Pq Ic a
316With no arguments, prints out all currently-defined aliases.
317With one
318argument, prints out that alias.
319With more than one argument, creates
320a new alias or changes an old one.
321.It Ic alternates
322.Pq Ic alt
323The
324.Ic alternates
325command is useful if you have accounts on several machines.
326It can be used to inform
327.Nm mail
328that the listed addresses are really you.
329When you
330.Ic reply
331to messages,
332.Nm mail
333will not send a copy of the message to any of the addresses
334listed on the
335.Ic alternates
336list.
337If the
338.Ic alternates
339command is given with no argument, the current set of alternate
340names is displayed.
341.It Ic chdir
342.Pq Ic c
343Changes the user's working directory to that specified, if given.
344If
345no directory is given, then changes to the user's login directory.
346.It Ic copy
347.Pq Ic co
348The
349.Ic copy
350command does the same thing that
351.Ic save
352does, except that it does not mark the messages it
353is used on for deletion when you quit.
354.It Ic delete
355.Pq Ic d
356Takes a list of messages as argument and marks them all as deleted.
357Deleted messages will not be saved in
358.Ar mbox  ,
359nor will they be available for most other commands.
360.It Ic dp
361(also
362.Ic dt )
363Deletes the current message and prints the next message.
364If there is no next message,
365.Nm mail
366says
367.Dq Li "at EOF" .
368.It Ic edit
369.Pq Ic e
370Takes a list of messages and points the text editor at each one in
371turn.
372On return from the editor, the message is read back in.
373.It Ic exit
374.Pf ( Ic ex
375or
376.Ic x )
377Effects an immediate return to the Shell without
378modifying the user's system mailbox, his
379.Ar mbox
380file, or his edit file in
381.Fl f  .
382.It Ic file
383.Pq Ic fi
384The same as
385.Ic folder  .
386.It Ic folders
387List the names of the folders in your folder directory.
388.It Ic folder
389.Pq Ic fo
390The
391.Ic folder
392command switches to a new mail file or folder.
393With no
394arguments, it tells you which file you are currently reading.
395If you give it an argument, it will write out changes (such
396as deletions) you have made in the current file and read in
397the new file.
398Some special conventions are recognized for
399the name.
400# means the previous file, % means your system
401mailbox, %user means user's system mailbox, & means
402your
403.Ar mbox
404file, and
405\&+\&folder means a file in your folder
406directory.
407.It Ic from
408.Pq Ic f
409Takes a list of messages and prints their message headers.
410.It Ic headers
411.Pq Ic h
412Lists the current range of headers, which is an 18\-message group.
413If
414a
415.Ql \&+
416argument is given, then the next 18\-message group is printed, and if
417a
418.Ql \&\-
419argument is given, the previous 18\-message group is printed.
420.It Ic help
421A synonym for
422.Ic \&?
423.It Ic hold
424.Pf ( Ic ho ,
425also
426.Ic preserve )
427Takes a message list and marks each
428message therein to be saved in the
429user's system mailbox instead of in
430.Ar mbox  .
431Does not override the
432.Ic delete
433command.
434.It Ic ignore
435Add the list of header fields named to the
436.Ar ignored list .
437Header fields in the ignore list are not printed
438on your terminal when you print a message.
439This
440command is very handy for suppression of certain machine-generated
441header fields.
442The
443.Ic Type
444and
445.Ic Print
446commands can be used to print a message in its entirety, including
447ignored fields.
448If
449.Ic ignore
450is executed with no arguments, it lists the current set of
451ignored fields.
452.It Ic mail
453.Pq Ic m
454Takes as argument login names and distribution group names and sends
455mail to those people.
456.It Ic mbox
457Indicate that a list of messages be sent to
458.Ic mbox
459in your home directory when you quit.
460This is the default
461action for messages if you do
462.Em not
463have the
464.Ic hold
465option set.
466.It Ic next
467.Pq Ic n
468like
469.Ic \&+
470or
471.Tn CR )
472Goes to the next message in sequence and types it.
473With an argument list, types the next matching message.
474.It Ic preserve
475.Pq Ic pre
476A synonym for
477.Ic hold  .
478.It Ic print
479.Pq Ic p
480Takes a message list and types out each message on the user's terminal.
481.It Ic quit
482.Pq Ic q
483Terminates the session, saving all undeleted, unsaved messages in
484the user's
485.Ar mbox
486file in his login directory, preserving all messages marked with
487.Ic hold
488or
489.Ic preserve
490or never referenced
491in his system mailbox, and removing all other messages from his system
492mailbox.
493If new mail has arrived during the session, the message
494.Dq Li "You have new mail"
495is given.
496If given while editing a
497mailbox file with the
498.Fl f
499flag, then the edit file is rewritten.
500A return to the Shell is
501effected, unless the rewrite of edit file fails, in which case the user
502can escape with the
503.Ic exit
504command.
505.It Ic reply
506.Pq Ic r
507Takes a message list and sends mail to the sender and all
508recipients of the specified message.
509The default message must not be deleted.
510.It Ic respond
511A synonym for
512.Ic reply  .
513.It Ic retain
514Add the list of header fields named to the
515.Ar retained list
516Only the header fields in the retain list
517are shown on your terminal when you print a message.
518All other header fields are suppressed.
519The
520.Ic Type
521and
522.Ic Print
523commands can be used to print a message in its entirety.
524If
525.Ic retain
526is executed with no arguments, it lists the current set of
527retained fields.
528.It Ic save
529.Pq Ic s
530Takes a message list and a filename and appends each message in
531turn to the end of the file.
532The filename in quotes, followed by the line
533count and character count is echoed on the user's terminal.
534.It Ic set
535.Pq Ic se
536With no arguments, prints all variable values.
537Otherwise, sets
538option.
539Arguments are of the form
540.Ar option=value
541(no space before or after =) or
542.Ar option .
543Quotation marks may be placed around any part of the assignment statement to
544quote blanks or tabs, i.e.
545.Dq Li "set indentprefix=\*q->\*q"
546.It Ic saveignore
547.Ic Saveignore
548is to
549.Ic save
550what
551.Ic ignore
552is to
553.Ic print
554and
555.Ic type  .
556Header fields thus marked are filtered out when
557saving a message by
558.Ic save
559or when automatically saving to
560.Ar mbox  .
561.It Ic saveretain
562.Ic Saveretain
563is to
564.Ic save
565what
566.Ic retain
567is to
568.Ic print
569and
570.Ic type  .
571Header fields thus marked are the only ones saved
572with a message when saving by
573.Ic save
574or when automatically saving to
575.Ar mbox  .
576.Ic Saveretain
577overrides
578.Ic saveignore  .
579.It Ic shell
580.Pq Ic sh
581Invokes an interactive version of the shell.
582.It Ic size
583Takes a message list and prints out the size in characters of each
584message.
585.It Ic source
586The
587.Ic source
588command reads
589commands from a file.
590.It Ic top
591Takes a message list and prints the top few lines of each.
592The number of
593lines printed is controlled by the variable
594.Ic toplines
595and defaults to five.
596.It Ic type
597.Pq Ic t
598A synonym for
599.Ic print  .
600.It Ic unalias
601Takes a list of names defined by
602.Ic alias
603commands and discards the remembered groups of users.
604The group names
605no longer have any significance.
606.It Ic undelete
607.Pq Ic u
608Takes a message list and marks each message as
609.Ic not
610being deleted.
611.It Ic unread
612.Pq Ic U
613Takes a message list and marks each message as
614.Ic not
615having been read.
616.It Ic unset
617Takes a list of option names and discards their remembered values;
618the inverse of
619.Ic set  .
620.It Ic visual
621.Pq Ic v
622Takes a message list and invokes the display editor on each message.
623.It Ic write
624.Pq Ic w
625Similar to
626.Ic save  ,
627except that
628.Ic only
629the message body
630.Pq Ar without
631the header) is saved.
632Extremely useful for such tasks as sending and receiving source
633program text over the message system.
634.It Ic xit
635.Pq Ic x
636A synonym for
637.Ic exit  .
638.It Ic z
639.Nm Mail
640presents message headers in windowfuls as described under the
641.Ic headers
642command.
643You can move
644.Nm mail Ns 's
645attention forward to the next window with the
646.Ic \&z
647command.
648Also, you can move to the previous window by using
649.Ic \&z\&\-  .
650.El
651.Ss Tilde/Escapes
652.Pp
653Here is a summary of the tilde escapes,
654which are used when composing messages to perform
655special functions.
656Tilde escapes are only recognized at the beginning
657of lines.
658The name
659.Dq Em tilde\ escape
660is somewhat of a misnomer since the actual escape character can be set
661by the option
662.Ic escape .
663.Bl -tag -width Ds
664.It Ic \&~! Ns Ar command
665Execute the indicated shell command, then return to the message.
666.It Ic \&~b Ns Ar name ...
667Add the given names to the list of carbon copy recipients but do not make
668the names visible in the Cc: line ("blind" carbon copy).
669.It Ic \&~c Ns Ar name ...
670Add the given names to the list of carbon copy recipients.
671.It Ic \&~d
672Read the file
673.Dq Pa dead.letter
674from your home directory into the message.
675.It Ic \&~e
676Invoke the text editor on the message collected so far.
677After the
678editing session is finished, you may continue appending text to the
679message.
680.It Ic \&~f Ns Ar messages
681Read the named messages into the message being sent.
682If no messages are specified, read in the current message.
683Message headers currently being ignored (by the
684.Ic ignore
685or
686.Ic retain
687command) are not included.
688.It Ic \&~F Ns Ar messages
689Identical to
690.Ic \&~f ,
691except all message headers are included.
692.It Ic \&~h
693Edit the message header fields by typing each one in turn and allowing
694the user to append text to the end or modify the field by using the
695current terminal erase and kill characters.
696.It Ic \&~m Ns Ar messages
697Read the named messages into the message being sent, indented by a
698tab or by the value of
699.Ar indentprefix  .
700If no messages are specified,
701read the current message.
702Message headers currently being ignored (by the
703.Ic ignore
704or
705.Ic retain
706command) are not included.
707.It Ic \&~M Ns Ar messages
708Identical to
709.Ic \&~m ,
710except all message headers are included.
711.It Ic \&~p
712Print out the message collected so far, prefaced by the message header
713fields.
714.It Ic \&~q
715Abort the message being sent, copying the message to
716.Dq Pa dead.letter
717in your home directory if
718.Ic save
719is set.
720.It Ic \&~r Ns Ar filename
721Read the named file into the message.
722.It Ic \&~s Ns Ar string
723Cause the named string to become the current subject field.
724.It Ic \&~\&t Ns Ar name ...
725Add the given names to the direct recipient list.
726.It Ic \&~\&v
727Invoke an alternate editor (defined by the
728.Ev VISUAL
729option) on the
730message collected so far.
731Usually, the alternate editor will be a
732screen editor.
733After you quit the editor, you may resume appending
734text to the end of your message.
735.It Ic \&~w Ns Ar filename
736Write the message onto the named file.
737.It Ic \&~\&| Ns Ar command
738Pipe the message through the command as a filter.
739If the command gives
740no output or terminates abnormally, retain the original text of the
741message.
742The command
743.Xr fmt 1
744is often used as
745.Ic command
746to rejustify the message.
747.It Ic \&~: Ns Ar mail-command
748Execute the given mail command.
749Not all commands, however, are allowed.
750.It Ic \&~~ Ns Ar string
751Insert the string of text in the message prefaced by a single ~.
752If
753you have changed the escape character, then you should double
754that character in order to send it.
755.El
756.Ss Mail Options
757Options are controlled via
758.Ic set
759and
760.Ic unset
761commands.
762Options may be either binary, in which case it is only
763significant to see whether they are set or not; or string, in which
764case the actual value is of interest.
765The binary options include the following:
766.Bl -tag -width append
767.It Ar append
768Causes messages saved in
769.Ar mbox
770to be appended to the end rather than prepended.
771This should always be set (perhaps in
772.Pa /etc/mail.rc ) .
773.It Ar ask
774Causes
775.Nm mail
776to prompt you for the subject of each message you send.
777If
778you respond with simply a newline, no subject field will be sent.
779.It Ar askcc
780Causes you to be prompted for additional carbon copy recipients at the
781end of each message.
782Responding with a newline indicates your
783satisfaction with the current list.
784.It Ar autoprint
785Causes the
786.Ic delete
787command to behave like
788.Ic dp
789\- thus, after deleting a message, the next one will be typed
790automatically.
791.It Ar debug
792Setting the binary option
793.Ar debug
794is the same as specifying
795.Fl d
796on the command line and causes
797.Nm mail
798to output all sorts of information useful for debugging
799.Nm mail  .
800.It Ar dot
801The binary option
802.Ar dot
803causes
804.Nm mail
805to interpret a period alone on a line as the terminator
806of a message you are sending.
807.It Ar hold
808This option is used to hold messages in the system mailbox
809by default.
810.It Ar ignore
811Causes interrupt signals from your terminal to be ignored and echoed as
812@'s.
813.It Ar ignoreeof
814An option related to
815.Ar dot
816is
817.Ar ignoreeof
818which makes
819.Nm mail
820refuse to accept a control-d as the end of a message.
821.Ar Ignoreeof
822also applies to
823.Nm mail
824command mode.
825.It Ar metoo
826Usually, when a group is expanded that contains the sender, the sender
827is removed from the expansion.
828Setting this option causes the sender
829to be included in the group.
830.It Ar noheader
831Setting the option
832.Ar noheader
833is the same as giving the
834.Fl N
835flag on the command line.
836.It Ar nosave
837Normally, when you abort a message with two
838.Tn RUBOUT
839(erase or delete)
840.Nm mail
841copies the partial letter to the file
842.Dq Pa dead.letter
843in your home directory.
844Setting the binary option
845.Ar nosave
846prevents this.
847.It Ar Replyall
848Reverses the sense of
849.Ic reply
850and
851.Ic Reply
852commands.
853.It Ar quiet
854Suppresses the printing of the version when first invoked.
855.It Ar searchheaders
856If this option is set, then a message-list specifier in the form ``/x:y''
857will expand to all messages containing the substring ``y'' in the header
858field ``x''.  The string search is case insensitive.
859.It Ar verbose
860Setting the option
861.Ar verbose
862is the same as using the
863.Fl v
864flag on the command line.
865When mail runs in verbose mode,
866the actual delivery of messages is displayed on the user's
867terminal.
868.El
869.Ss Option String Values
870.Bl -tag -width Va
871.It Ev EDITOR
872Pathname of the text editor to use in the
873.Ic edit
874command and
875.Ic \&~e
876escape.
877If not defined, then a default editor is used.
878.It Ev LISTER
879Pathname of the directory lister to use in the
880.Ic folders
881command.
882Default is
883.Pa /bin/ls .
884.It Ev PAGER
885Pathname of the program to use in the
886.Ic more
887command or when
888.Ic crt
889variable is set.
890The default paginator
891.Xr more 1
892is used if this option is not defined.
893.It Ev SHELL
894Pathname of the shell to use in the
895.Ic \&!
896command and the
897.Ic \&~!
898escape.
899A default shell is used if this option is
900not defined.
901.It Ev VISUAL
902Pathname of the text editor to use in the
903.Ic visual
904command and
905.Ic \&~v
906escape.
907.It Va crt
908The valued option
909.Va crt
910is used as a threshold to determine how long a message must
911be before
912.Ev PAGER
913is used to read it.
914If
915.Va crt
916is set without a value,
917then the height of the terminal screen stored in the system
918is used to compute the threshold (see
919.Xr stty 1 ) .
920.It Ar escape
921If defined, the first character of this option gives the character to
922use in the place of ~ to denote escapes.
923.It Ar folder
924The name of the directory to use for storing folders of
925messages.
926If this name begins with a `/',
927.Nm mail
928considers it to be an absolute pathname; otherwise, the
929folder directory is found relative to your home directory.
930.It Ev MBOX
931The name of the
932.Ar mbox
933file.
934It can be the name of a folder.
935The default is
936.Dq Li mbox
937in the user's home directory.
938.It Ar record
939If defined, gives the pathname of the file used to record all outgoing
940mail.
941If not defined, then outgoing mail is not so saved.
942.It Ar indentprefix
943String used by the ``~m'' tilde escape for indenting messages, in place of
944the normal tab character (^I).
945Be sure to quote the value if it contains
946spaces or tabs.
947.It Ar toplines
948If defined, gives the number of lines of a message to be printed out
949with the
950.Ic top
951command; normally, the first five lines are printed.
952.El
953.Sh ENVIRONMENT
954.Nm Mail
955utilizes the
956.Ev HOME
957and
958.Ev USER
959environment variables.
960.Sh FILES
961.Bl -tag -width /usr/share/misc/Mail.help* -compact
962.It Pa /var/spool/mail/*
963Post office.
964.It ~/mbox
965User's old mail.
966.It ~/.mailrc
967File giving initial mail commands.
968.It Pa /tmp/R*
969Temporary files.
970.It Pa /usr/share/misc/Mail.help*
971Help files.
972.It Pa /etc/mail.rc
973System initialization file.
974.El
975.Sh SEE ALSO
976.Xr fmt 1 ,
977.Xr newaliases 1 ,
978.Xr vacation 1 ,
979.Xr aliases 5 ,
980.Xr mailaddr 7 ,
981.Xr sendmail 8
982and
983.Rs
984.%T "The Mail Reference Manual" .
985.Re
986.Sh HISTORY
987A
988.Nm mail
989command
990appeared in
991.At v6 .
992This man page is derived from
993.%T "The Mail Reference Manual"
994originally written by Kurt Shoens.
995.Sh BUGS
996There are some flags that are not documented here.
997Most are
998not useful to the general user.
999.Pp
1000Usually,
1001.Nm mail
1002is just a link to
1003.Nm Mail  ,
1004which can be confusing.
1005