xref: /freebsd/usr.bin/mail/mail.1 (revision 27c7d5ffd18ea921bdc204101dff6ec9be49e0c7)
19b50d902SRodney W. Grimes.\" Copyright (c) 1980, 1990, 1993
29b50d902SRodney W. Grimes.\"	The Regents of the University of California.  All rights reserved.
39b50d902SRodney W. Grimes.\"
49b50d902SRodney W. Grimes.\" Redistribution and use in source and binary forms, with or without
59b50d902SRodney W. Grimes.\" modification, are permitted provided that the following conditions
69b50d902SRodney W. Grimes.\" are met:
79b50d902SRodney W. Grimes.\" 1. Redistributions of source code must retain the above copyright
89b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer.
99b50d902SRodney W. Grimes.\" 2. Redistributions in binary form must reproduce the above copyright
109b50d902SRodney W. Grimes.\"    notice, this list of conditions and the following disclaimer in the
119b50d902SRodney W. Grimes.\"    documentation and/or other materials provided with the distribution.
129b50d902SRodney W. Grimes.\" 3. All advertising materials mentioning features or use of this software
139b50d902SRodney W. Grimes.\"    must display the following acknowledgement:
149b50d902SRodney W. Grimes.\"	This product includes software developed by the University of
159b50d902SRodney W. Grimes.\"	California, Berkeley and its contributors.
169b50d902SRodney W. Grimes.\" 4. Neither the name of the University nor the names of its contributors
179b50d902SRodney W. Grimes.\"    may be used to endorse or promote products derived from this software
189b50d902SRodney W. Grimes.\"    without specific prior written permission.
199b50d902SRodney W. Grimes.\"
209b50d902SRodney W. Grimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
219b50d902SRodney W. Grimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
229b50d902SRodney W. Grimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
239b50d902SRodney W. Grimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
249b50d902SRodney W. Grimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
259b50d902SRodney W. Grimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
269b50d902SRodney W. Grimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
279b50d902SRodney W. Grimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
289b50d902SRodney W. Grimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
299b50d902SRodney W. Grimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
309b50d902SRodney W. Grimes.\" SUCH DAMAGE.
319b50d902SRodney W. Grimes.\"
32856f23edSMike Heffner.\"	@(#)mail.1	8.8 (Berkeley) 4/28/95
33c3aac50fSPeter Wemm.\" $FreeBSD$
349b50d902SRodney W. Grimes.\"
35856f23edSMike Heffner.Dd April 28, 1995
369b50d902SRodney W. Grimes.Dt MAIL 1
3762500372SRuslan Ermilov.Os
389b50d902SRodney W. Grimes.Sh NAME
39856f23edSMike Heffner.Nm mail ,
4094ef258fSMike Heffner.Nm Mail ,
4194ef258fSMike Heffner.Nm mailx
429b50d902SRodney W. Grimes.Nd send and receive mail
439b50d902SRodney W. Grimes.Sh SYNOPSIS
448fe908efSRuslan Ermilov.Nm
45dcd24e27SMike Heffner.Op Fl EiInv
469b50d902SRodney W. Grimes.Op Fl s Ar subject
479b50d902SRodney W. Grimes.Op Fl c Ar cc-addr
489b50d902SRodney W. Grimes.Op Fl b Ar bcc-addr
499b50d902SRodney W. Grimes.Ar to-addr ...
5081135783SRuslan Ermilov.Op Fl Ar sendmail-option ...
518fe908efSRuslan Ermilov.Nm
52dcd24e27SMike Heffner.Op Fl EiInNv
539b50d902SRodney W. Grimes.Fl f
549b50d902SRodney W. Grimes.Op Ar name
558fe908efSRuslan Ermilov.Nm
56dcd24e27SMike Heffner.Op Fl EiInNv
579b50d902SRodney W. Grimes.Op Fl u Ar user
589b50d902SRodney W. Grimes.Sh INTRODUCTION
59e8937ba0SPhilippe CharnierThe
60e8937ba0SPhilippe Charnier.Nm
61e8937ba0SPhilippe Charnierutility is an intelligent mail processing system, which has
629b50d902SRodney W. Grimesa command syntax reminiscent of
6381135783SRuslan Ermilov.Xr ed 1
649b50d902SRodney W. Grimeswith lines replaced by messages.
6557906e00SPhilippe Charnier.Pp
6657906e00SPhilippe CharnierThe following options are available:
673e048b59SRuslan Ermilov.Bl -tag -width indent
689b50d902SRodney W. Grimes.It Fl v
699b50d902SRodney W. GrimesVerbose mode.
709b50d902SRodney W. GrimesThe details of
719b50d902SRodney W. Grimesdelivery are displayed on the user's terminal.
72dcd24e27SMike Heffner.It Fl E
73b7cd452dSRuslan ErmilovDo not send messages with an empty body.
74b7cd452dSRuslan ErmilovThis is useful for piping errors from
75b7cd452dSRuslan Ermilov.Xr cron 8
76b7cd452dSRuslan Ermilovscripts.
779b50d902SRodney W. Grimes.It Fl i
789b50d902SRodney W. GrimesIgnore tty interrupt signals.
799b50d902SRodney W. GrimesThis is
809b50d902SRodney W. Grimesparticularly useful when using
818fe908efSRuslan Ermilov.Nm
829b50d902SRodney W. Grimeson noisy phone lines.
839b50d902SRodney W. Grimes.It Fl I
8457906e00SPhilippe CharnierForce
8581135783SRuslan Ermilov.Nm
8681135783SRuslan Ermilovto run in interactive mode even when
87b7cd452dSRuslan Ermilovinput is not a terminal.
889b50d902SRodney W. GrimesIn particular, the
8981135783SRuslan Ermilov.Ql ~
909b50d902SRodney W. Grimesspecial
919b50d902SRodney W. Grimescharacter when sending mail is only active in interactive mode.
929b50d902SRodney W. Grimes.It Fl n
9357906e00SPhilippe CharnierInhibit reading the system-wide
94e9b074c3SJordan K. Hubbard.Pa mail.rc
95e9b074c3SJordan K. Hubbardfiles upon startup.
969b50d902SRodney W. Grimes.It Fl N
9757906e00SPhilippe CharnierInhibit the initial display of message headers
989b50d902SRodney W. Grimeswhen reading mail or editing a mail folder.
9957906e00SPhilippe Charnier.It Fl s Ar subject
10057906e00SPhilippe CharnierSpecify
10157906e00SPhilippe Charnier.Ar subject
10257906e00SPhilippe Charnieron command line.
10381135783SRuslan Ermilov(Only the first argument after the
1049b50d902SRodney W. Grimes.Fl s
1059b50d902SRodney W. Grimesflag is used as a subject; be careful to quote subjects
1069b50d902SRodney W. Grimescontaining spaces.)
10757906e00SPhilippe Charnier.It Fl c Ar cc-addr
1089b50d902SRodney W. GrimesSend carbon copies to
10981135783SRuslan Ermilov.Ar cc-addr
11081135783SRuslan Ermilovlist of users.
11157906e00SPhilippe CharnierThe
11257906e00SPhilippe Charnier.Ar cc-addr
11357906e00SPhilippe Charnierargument should be a comma-separated list of names.
11457906e00SPhilippe Charnier.It Fl b Ar bcc-addr
1159b50d902SRodney W. GrimesSend blind carbon copies to
11657906e00SPhilippe Charnier.Ar bcc-addr
11757906e00SPhilippe Charnierlist of users.
11857906e00SPhilippe CharnierThe
11957906e00SPhilippe Charnier.Ar bcc-addr
12057906e00SPhilippe Charnierargument should be a comma-separated list of names.
12157906e00SPhilippe Charnier.It Fl f Op Ar mbox
1229b50d902SRodney W. GrimesRead in the contents of your
12381135783SRuslan Ermilov.Pa mbox
1249b50d902SRodney W. Grimes(or the specified file)
1259b50d902SRodney W. Grimesfor processing; when you
12681135783SRuslan Ermilov.Ic quit ,
1278fe908efSRuslan Ermilov.Nm
1289b50d902SRodney W. Grimeswrites undeleted messages back to this file.
1299b50d902SRodney W. Grimes.It Fl u
1309b50d902SRodney W. GrimesIs equivalent to:
1319b50d902SRodney W. Grimes.Pp
13281135783SRuslan Ermilov.Dl "mail -f /var/mail/user"
1339b50d902SRodney W. Grimes.El
13481135783SRuslan Ermilov.Ss "Startup Actions"
135727c1440SJoseph KoshyAt startup time
136727c1440SJoseph Koshy.Nm
137727c1440SJoseph Koshywill execute commands in the system command files
138727c1440SJoseph Koshy.Pa /usr/share/misc/mail.rc ,
139727c1440SJoseph Koshy.Pa /usr/local/etc/mail.rc
140727c1440SJoseph Koshyand
141727c1440SJoseph Koshy.Pa /etc/mail.rc
142727c1440SJoseph Koshyin order, unless explicitly told not to by the use of the
143727c1440SJoseph Koshy.Fl n
144727c1440SJoseph Koshyoption.
145727c1440SJoseph KoshyNext, the commands in the user's personal command file
146727c1440SJoseph Koshy.Pa ~/.mailrc
147727c1440SJoseph Koshyare executed.
148e8937ba0SPhilippe CharnierThe
149727c1440SJoseph Koshy.Nm
150e8937ba0SPhilippe Charnierutility then examines its command line options to determine whether a
151727c1440SJoseph Koshynew message is to be sent, or whether an existing mailbox is to
152727c1440SJoseph Koshybe read.
15381135783SRuslan Ermilov.Ss "Sending Mail"
1549b50d902SRodney W. GrimesTo send a message to one or more people,
1558fe908efSRuslan Ermilov.Nm
1569b50d902SRodney W. Grimescan be invoked with arguments which are the names of people to
1579b50d902SRodney W. Grimeswhom the mail will be sent.
1589b50d902SRodney W. GrimesYou are then expected to type in
1599b50d902SRodney W. Grimesyour message, followed
160f3456b7eSJames Raynardby a
16181135783SRuslan Ermilov.Aq Li control-D
1629b50d902SRodney W. Grimesat the beginning of a line.
1639b50d902SRodney W. GrimesThe section below
16481135783SRuslan Ermilov.Sx "Replying To or Originating Mail" ,
1659b50d902SRodney W. Grimesdescribes some features of
1668fe908efSRuslan Ermilov.Nm
1679b50d902SRodney W. Grimesavailable to help you compose your letter.
16881135783SRuslan Ermilov.Ss "Reading Mail"
1699b50d902SRodney W. GrimesIn normal usage
1708fe908efSRuslan Ermilov.Nm
1719b50d902SRodney W. Grimesis given no arguments and checks your mail out of the
1729b50d902SRodney W. Grimespost office, then
1739b50d902SRodney W. Grimesprints out a one line header of each message found.
1749b50d902SRodney W. GrimesThe current message is initially the first message (numbered 1)
1759b50d902SRodney W. Grimesand can be printed using the
1769b50d902SRodney W. Grimes.Ic print
1779b50d902SRodney W. Grimescommand (which can be abbreviated
17881135783SRuslan Ermilov.Ic p ) .
1799b50d902SRodney W. GrimesYou can move among the messages much as you move between lines in
18081135783SRuslan Ermilov.Xr ed 1 ,
1819b50d902SRodney W. Grimeswith the commands
18281135783SRuslan Ermilov.Ic +
1839b50d902SRodney W. Grimesand
18481135783SRuslan Ermilov.Ic \-
1859b50d902SRodney W. Grimesmoving backwards and forwards, and
1869b50d902SRodney W. Grimessimple numbers.
18781135783SRuslan Ermilov.Ss "Disposing of Mail"
1889b50d902SRodney W. GrimesAfter examining a message you can
1899b50d902SRodney W. Grimes.Ic delete
190f3456b7eSJames Raynard.Pq Ic d
1919b50d902SRodney W. Grimesthe message or
1929b50d902SRodney W. Grimes.Ic reply
193f3456b7eSJames Raynard.Pq Ic r
1949b50d902SRodney W. Grimesto it.
1959b50d902SRodney W. GrimesDeletion causes the
1968fe908efSRuslan Ermilov.Nm
1979b50d902SRodney W. Grimesprogram to forget about the message.
1989b50d902SRodney W. GrimesThis is not irreversible; the message can be
1999b50d902SRodney W. Grimes.Ic undeleted
200f3456b7eSJames Raynard.Pq Ic u
2019b50d902SRodney W. Grimesby giving its number, or the
2028fe908efSRuslan Ermilov.Nm
2039b50d902SRodney W. Grimessession can be aborted by giving the
2049b50d902SRodney W. Grimes.Ic exit
205f3456b7eSJames Raynard.Pq Ic x
2069b50d902SRodney W. Grimescommand.
2079b50d902SRodney W. GrimesDeleted messages will, however, usually disappear never to be seen again.
20881135783SRuslan Ermilov.Ss "Specifying Messages"
2099b50d902SRodney W. GrimesCommands such as
2109b50d902SRodney W. Grimes.Ic print
2119b50d902SRodney W. Grimesand
2129b50d902SRodney W. Grimes.Ic delete
2139b50d902SRodney W. Grimescan be given a list of message numbers as arguments to apply
2149b50d902SRodney W. Grimesto a number of messages at once.
2159b50d902SRodney W. GrimesThus
21681135783SRuslan Ermilov.Dq Li "delete 1 2"
2179b50d902SRodney W. Grimesdeletes messages 1 and 2, while
21881135783SRuslan Ermilov.Dq Li "delete 1\-5"
2199b50d902SRodney W. Grimesdeletes messages 1 through 5.
2209b50d902SRodney W. GrimesThe special name
22181135783SRuslan Ermilov.Ql *
2229b50d902SRodney W. Grimesaddresses all messages, and
22381135783SRuslan Ermilov.Ql $
2249b50d902SRodney W. Grimesaddresses
2259b50d902SRodney W. Grimesthe last message; thus the command
2269b50d902SRodney W. Grimes.Ic top
2279b50d902SRodney W. Grimeswhich prints the first few lines of a message could be used in
22881135783SRuslan Ermilov.Dq Li "top *"
2299b50d902SRodney W. Grimesto print the first few lines of all messages.
23081135783SRuslan Ermilov.Ss "Replying To or Originating Mail"
2319b50d902SRodney W. GrimesYou can use the
2329b50d902SRodney W. Grimes.Ic reply
2339b50d902SRodney W. Grimescommand to
2349b50d902SRodney W. Grimesset up a response to a message, sending it back to the
2359b50d902SRodney W. Grimesperson who it was from.
2369b50d902SRodney W. GrimesText you then type in, up to an end-of-file,
2379b50d902SRodney W. Grimesdefines the contents of the message.
2389b50d902SRodney W. GrimesWhile you are composing a message,
2398fe908efSRuslan Ermilov.Nm
2409b50d902SRodney W. Grimestreats lines beginning with the character
24181135783SRuslan Ermilov.Ql ~
2429b50d902SRodney W. Grimesspecially.
2439b50d902SRodney W. GrimesFor instance, typing
24481135783SRuslan Ermilov.Ic ~m
2459b50d902SRodney W. Grimes(alone on a line) will place a copy
2469b50d902SRodney W. Grimesof the current message into the response right shifting it by a tabstop
2479b50d902SRodney W. Grimes(see
24881135783SRuslan Ermilov.Va indentprefix
2499b50d902SRodney W. Grimesvariable, below).
2509b50d902SRodney W. GrimesOther escapes will set up subject fields, add and delete recipients
2519b50d902SRodney W. Grimesto the message and allow you to escape to an editor to revise the
2529b50d902SRodney W. Grimesmessage or to a shell to run some commands.
2539b50d902SRodney W. Grimes(These options
2549b50d902SRodney W. Grimesare given in the summary below.)
25581135783SRuslan Ermilov.Ss "Ending a Mail Processing Session"
2569b50d902SRodney W. GrimesYou can end a
2578fe908efSRuslan Ermilov.Nm
2589b50d902SRodney W. Grimessession with the
2599b50d902SRodney W. Grimes.Ic quit
260f3456b7eSJames Raynard.Pq Ic q
2619b50d902SRodney W. Grimescommand.
2629b50d902SRodney W. GrimesMessages which have been examined go to your
26381135783SRuslan Ermilov.Pa mbox
2649b50d902SRodney W. Grimesfile unless they have been deleted in which case they are discarded.
2659b50d902SRodney W. GrimesUnexamined messages go back to the post office.
2669b50d902SRodney W. Grimes(See the
2679b50d902SRodney W. Grimes.Fl f
2689b50d902SRodney W. Grimesoption above).
26981135783SRuslan Ermilov.Ss "Personal and System Wide Distribution Lists"
2709b50d902SRodney W. GrimesIt is also possible to create a personal distribution lists so that,
2719b50d902SRodney W. Grimesfor instance, you can send mail to
2729b50d902SRodney W. Grimes.Dq Li cohorts
2739b50d902SRodney W. Grimesand have it go
2749b50d902SRodney W. Grimesto a group of people.
2759b50d902SRodney W. GrimesSuch lists can be defined by placing a line like
2769b50d902SRodney W. Grimes.Pp
27781135783SRuslan Ermilov.Dl "alias cohorts bill ozalp jkf mark kridle@ucbcory"
2789b50d902SRodney W. Grimes.Pp
2799b50d902SRodney W. Grimesin the file
28081135783SRuslan Ermilov.Pa .mailrc
2819b50d902SRodney W. Grimesin your home directory.
2829b50d902SRodney W. GrimesThe current list of such aliases can be displayed with the
2839b50d902SRodney W. Grimes.Ic alias
2849b50d902SRodney W. Grimescommand in
2858fe908efSRuslan Ermilov.Nm .
2869b50d902SRodney W. GrimesSystem wide distribution lists can be created by editing
2872216e2a2SGregory Neil Shapiro.Pa /etc/mail/aliases ,
2889b50d902SRodney W. Grimessee
2899b50d902SRodney W. Grimes.Xr aliases 5
2909b50d902SRodney W. Grimesand
2919b50d902SRodney W. Grimes.Xr sendmail 8 ;
2929b50d902SRodney W. Grimesthese are kept in a different syntax.
2939b50d902SRodney W. GrimesIn mail you send, personal aliases will be expanded in mail sent
2949b50d902SRodney W. Grimesto others so that they will be able to
2959b50d902SRodney W. Grimes.Ic reply
2969b50d902SRodney W. Grimesto the recipients.
2979b50d902SRodney W. GrimesSystem wide
29881135783SRuslan Ermilovaliases
2999b50d902SRodney W. Grimesare not expanded when the mail is sent,
3009b50d902SRodney W. Grimesbut any reply returned to the machine will have the system wide
3019b50d902SRodney W. Grimesalias expanded as all mail goes through
302856f23edSMike Heffner.Xr sendmail 8 .
30381135783SRuslan Ermilov.Ss "Network Mail (ARPA, UUCP, Berknet)"
3049b50d902SRodney W. GrimesSee
3059b50d902SRodney W. Grimes.Xr mailaddr 7
3069b50d902SRodney W. Grimesfor a description of network addresses.
3079b50d902SRodney W. Grimes.Pp
308e8937ba0SPhilippe CharnierThe
309e8937ba0SPhilippe Charnier.Nm
310e8937ba0SPhilippe Charnierutility has a number of options which can be set in the
3119b50d902SRodney W. Grimes.Pa .mailrc
3129b50d902SRodney W. Grimesfile to alter its behavior; thus
31381135783SRuslan Ermilov.Dq Li "set askcc"
3149b50d902SRodney W. Grimesenables the
31581135783SRuslan Ermilov.Va askcc
3169b50d902SRodney W. Grimesfeature.
3179b50d902SRodney W. Grimes(These options are summarized below.)
3189b50d902SRodney W. Grimes.Sh SUMMARY
31981135783SRuslan Ermilov(Adapted from the
32081135783SRuslan Ermilov.%T "Mail Reference Manual" . )
3219b50d902SRodney W. Grimes.Pp
3229b50d902SRodney W. GrimesEach command is typed on a line by itself, and may take arguments
3239b50d902SRodney W. Grimesfollowing the command word.
3249b50d902SRodney W. GrimesThe command need not be typed in its
32581135783SRuslan Ermiloventirety \(em the first command which matches the typed prefix is used.
3269b50d902SRodney W. GrimesFor commands which take message lists as arguments, if no message
3279b50d902SRodney W. Grimeslist is given, then the next message forward which satisfies the
3289b50d902SRodney W. Grimescommand's requirements is used.
3299b50d902SRodney W. GrimesIf there are no messages forward of
3309b50d902SRodney W. Grimesthe current message, the search proceeds backwards, and if there are no
3319b50d902SRodney W. Grimesgood messages at all,
3328fe908efSRuslan Ermilov.Nm
3339b50d902SRodney W. Grimestypes
33481135783SRuslan Ermilov.Dq Li "No applicable messages"
3359b50d902SRodney W. Grimesand
3369b50d902SRodney W. Grimesaborts the command.
3373e048b59SRuslan Ermilov.Bl -tag -width indent
33881135783SRuslan Ermilov.It Ic \-
3399b50d902SRodney W. GrimesPrint out the preceding message.
3409b50d902SRodney W. GrimesIf given a numeric
3419b50d902SRodney W. Grimesargument
3429b50d902SRodney W. Grimes.Ar n ,
3439b50d902SRodney W. Grimesgoes to the
3449b50d902SRodney W. Grimes.Ar n Ns 'th
3459b50d902SRodney W. Grimesprevious message and prints it.
34681135783SRuslan Ermilov.It Ic #
347b5cfa4b2SJoerg Wunschignore the remainder of the line as a comment.
3489b50d902SRodney W. Grimes.It Ic \&?
3499b50d902SRodney W. GrimesPrints a brief summary of commands.
3509b50d902SRodney W. Grimes.It Ic \&!
3519b50d902SRodney W. GrimesExecutes the shell
3529b50d902SRodney W. Grimes(see
3539b50d902SRodney W. Grimes.Xr sh 1
3549b50d902SRodney W. Grimesand
3559b50d902SRodney W. Grimes.Xr csh 1 )
3569b50d902SRodney W. Grimescommand which follows.
3579b50d902SRodney W. Grimes.It Ic Print
3589b50d902SRodney W. Grimes.Pq Ic P
3599b50d902SRodney W. GrimesLike
3609b50d902SRodney W. Grimes.Ic print
3619b50d902SRodney W. Grimesbut also prints out ignored header fields.
3629b50d902SRodney W. GrimesSee also
36381135783SRuslan Ermilov.Ic print , ignore
3649b50d902SRodney W. Grimesand
3659b50d902SRodney W. Grimes.Ic retain .
3669b50d902SRodney W. Grimes.It Ic Reply
3679b50d902SRodney W. Grimes.Pq Ic R
3689b50d902SRodney W. GrimesReply to originator.
3699b50d902SRodney W. GrimesDoes not reply to other
3709b50d902SRodney W. Grimesrecipients of the original message.
3719b50d902SRodney W. Grimes.It Ic Type
3729b50d902SRodney W. Grimes.Pq Ic T
3739b50d902SRodney W. GrimesIdentical to the
3749b50d902SRodney W. Grimes.Ic Print
3759b50d902SRodney W. Grimescommand.
3769b50d902SRodney W. Grimes.It Ic alias
3779b50d902SRodney W. Grimes.Pq Ic a
3789b50d902SRodney W. GrimesWith no arguments, prints out all currently-defined aliases.
3799b50d902SRodney W. GrimesWith one
3809b50d902SRodney W. Grimesargument, prints out that alias.
3819b50d902SRodney W. GrimesWith more than one argument, creates
3829b50d902SRodney W. Grimesa new alias or changes an old one.
3839b50d902SRodney W. Grimes.It Ic alternates
3849b50d902SRodney W. Grimes.Pq Ic alt
3859b50d902SRodney W. GrimesThe
3869b50d902SRodney W. Grimes.Ic alternates
3879b50d902SRodney W. Grimescommand is useful if you have accounts on several machines.
3889b50d902SRodney W. GrimesIt can be used to inform
3898fe908efSRuslan Ermilov.Nm
3909b50d902SRodney W. Grimesthat the listed addresses are really you.
3919b50d902SRodney W. GrimesWhen you
3929b50d902SRodney W. Grimes.Ic reply
3939b50d902SRodney W. Grimesto messages,
3948fe908efSRuslan Ermilov.Nm
3959b50d902SRodney W. Grimeswill not send a copy of the message to any of the addresses
3969b50d902SRodney W. Grimeslisted on the
3979b50d902SRodney W. Grimes.Ic alternates
3989b50d902SRodney W. Grimeslist.
3999b50d902SRodney W. GrimesIf the
4009b50d902SRodney W. Grimes.Ic alternates
401856f23edSMike Heffnercommand is given with no argument, the current set of alternative
4029b50d902SRodney W. Grimesnames is displayed.
4039b50d902SRodney W. Grimes.It Ic chdir
4049b50d902SRodney W. Grimes.Pq Ic c
4059b50d902SRodney W. GrimesChanges the user's working directory to that specified, if given.
4069b50d902SRodney W. GrimesIf
4079b50d902SRodney W. Grimesno directory is given, then changes to the user's login directory.
4089b50d902SRodney W. Grimes.It Ic copy
4099b50d902SRodney W. Grimes.Pq Ic co
4109b50d902SRodney W. GrimesThe
4119b50d902SRodney W. Grimes.Ic copy
4129b50d902SRodney W. Grimescommand does the same thing that
4139b50d902SRodney W. Grimes.Ic save
4149b50d902SRodney W. Grimesdoes, except that it does not mark the messages it
41581135783SRuslan Ermilovis used on for deletion when you
41681135783SRuslan Ermilov.Ic quit .
4179b50d902SRodney W. Grimes.It Ic delete
4189b50d902SRodney W. Grimes.Pq Ic d
4199b50d902SRodney W. GrimesTakes a list of messages as argument and marks them all as deleted.
4209b50d902SRodney W. GrimesDeleted messages will not be saved in
42181135783SRuslan Ermilov.Pa mbox ,
4229b50d902SRodney W. Grimesnor will they be available for most other commands.
4239b50d902SRodney W. Grimes.It Ic dp
4249b50d902SRodney W. Grimes(also
4259b50d902SRodney W. Grimes.Ic dt )
4269b50d902SRodney W. GrimesDeletes the current message and prints the next message.
4279b50d902SRodney W. GrimesIf there is no next message,
4288fe908efSRuslan Ermilov.Nm
4299b50d902SRodney W. Grimessays
4309b50d902SRodney W. Grimes.Dq Li "at EOF" .
4319b50d902SRodney W. Grimes.It Ic edit
4329b50d902SRodney W. Grimes.Pq Ic e
4339b50d902SRodney W. GrimesTakes a list of messages and points the text editor at each one in
4349b50d902SRodney W. Grimesturn.
4359b50d902SRodney W. GrimesOn return from the editor, the message is read back in.
4369b50d902SRodney W. Grimes.It Ic exit
437d0353b83SRuslan Ermilov.Ic ( ex
4389b50d902SRodney W. Grimesor
4399b50d902SRodney W. Grimes.Ic x )
44081135783SRuslan ErmilovEffects an immediate return to the shell without
4419b50d902SRodney W. Grimesmodifying the user's system mailbox, his
44281135783SRuslan Ermilov.Pa mbox
4439b50d902SRodney W. Grimesfile, or his edit file in
4449b50d902SRodney W. Grimes.Fl f .
4459b50d902SRodney W. Grimes.It Ic file
4469b50d902SRodney W. Grimes.Pq Ic fi
4479b50d902SRodney W. GrimesThe same as
4489b50d902SRodney W. Grimes.Ic folder .
4499b50d902SRodney W. Grimes.It Ic folders
4509b50d902SRodney W. GrimesList the names of the folders in your folder directory.
4519b50d902SRodney W. Grimes.It Ic folder
4529b50d902SRodney W. Grimes.Pq Ic fo
4539b50d902SRodney W. GrimesThe
4549b50d902SRodney W. Grimes.Ic folder
4559b50d902SRodney W. Grimescommand switches to a new mail file or folder.
4569b50d902SRodney W. GrimesWith no
4579b50d902SRodney W. Grimesarguments, it tells you which file you are currently reading.
4589b50d902SRodney W. GrimesIf you give it an argument, it will write out changes (such
4599b50d902SRodney W. Grimesas deletions) you have made in the current file and read in
4609b50d902SRodney W. Grimesthe new file.
4619b50d902SRodney W. GrimesSome special conventions are recognized for
4629b50d902SRodney W. Grimesthe name.
46381135783SRuslan Ermilov.Ql #
46481135783SRuslan Ermilovmeans the previous file,
46581135783SRuslan Ermilov.Ql %
46681135783SRuslan Ermilovmeans your system mailbox,
46781135783SRuslan Ermilov.Dq Li % Ns Ar user
46881135783SRuslan Ermilovmeans user's system mailbox,
46981135783SRuslan Ermilov.Ql &
47081135783SRuslan Ermilovmeans your
47181135783SRuslan Ermilov.Pa mbox
4729b50d902SRodney W. Grimesfile, and
47381135783SRuslan Ermilov.Dq Li + Ns Ar folder
47481135783SRuslan Ermilovmeans a file in your folder
4759b50d902SRodney W. Grimesdirectory.
4769b50d902SRodney W. Grimes.It Ic from
4779b50d902SRodney W. Grimes.Pq Ic f
4789b50d902SRodney W. GrimesTakes a list of messages and prints their message headers.
4799b50d902SRodney W. Grimes.It Ic headers
4809b50d902SRodney W. Grimes.Pq Ic h
48181135783SRuslan ErmilovLists the current range of headers, which is an 18-message group.
4829b50d902SRodney W. GrimesIf
4839b50d902SRodney W. Grimesa
48481135783SRuslan Ermilov.Ql +
48581135783SRuslan Ermilovargument is given, then the next 18-message group is printed, and if
4869b50d902SRodney W. Grimesa
48781135783SRuslan Ermilov.Ql \-
48881135783SRuslan Ermilovargument is given, the previous 18-message group is printed.
4899b50d902SRodney W. Grimes.It Ic help
4909b50d902SRodney W. GrimesA synonym for
49181135783SRuslan Ermilov.Ic \&? .
4929b50d902SRodney W. Grimes.It Ic hold
493d0353b83SRuslan Ermilov.Ic ( ho ,
4949b50d902SRodney W. Grimesalso
4959b50d902SRodney W. Grimes.Ic preserve )
4969b50d902SRodney W. GrimesTakes a message list and marks each
4979b50d902SRodney W. Grimesmessage therein to be saved in the
4989b50d902SRodney W. Grimesuser's system mailbox instead of in
49981135783SRuslan Ermilov.Pa mbox .
5009b50d902SRodney W. GrimesDoes not override the
5019b50d902SRodney W. Grimes.Ic delete
5029b50d902SRodney W. Grimescommand.
5039b50d902SRodney W. Grimes.It Ic ignore
5049b50d902SRodney W. GrimesAdd the list of header fields named to the
5059b50d902SRodney W. Grimes.Ar ignored list .
5069b50d902SRodney W. GrimesHeader fields in the ignore list are not printed
5079b50d902SRodney W. Grimeson your terminal when you print a message.
5089b50d902SRodney W. GrimesThis
5099b50d902SRodney W. Grimescommand is very handy for suppression of certain machine-generated
5109b50d902SRodney W. Grimesheader fields.
5119b50d902SRodney W. GrimesThe
5129b50d902SRodney W. Grimes.Ic Type
5139b50d902SRodney W. Grimesand
5149b50d902SRodney W. Grimes.Ic Print
5159b50d902SRodney W. Grimescommands can be used to print a message in its entirety, including
5169b50d902SRodney W. Grimesignored fields.
5179b50d902SRodney W. GrimesIf
5189b50d902SRodney W. Grimes.Ic ignore
5199b50d902SRodney W. Grimesis executed with no arguments, it lists the current set of
5209b50d902SRodney W. Grimesignored fields.
521856f23edSMike Heffner.It Ic inc
522856f23edSMike HeffnerIncorporate any new messages that have arrived while mail
523856f23edSMike Heffneris being read.
524856f23edSMike HeffnerThe new messages are added to the end of the message list,
525856f23edSMike Heffnerand the current message is reset to be the first new mail message.
52681135783SRuslan ErmilovThis does not renumber the existing message list, nor
527856f23edSMike Heffnerdoes it cause any changes made so far to be saved.
5289b50d902SRodney W. Grimes.It Ic mail
5299b50d902SRodney W. Grimes.Pq Ic m
5309b50d902SRodney W. GrimesTakes as argument login names and distribution group names and sends
5319b50d902SRodney W. Grimesmail to those people.
5329b50d902SRodney W. Grimes.It Ic mbox
5339b50d902SRodney W. GrimesIndicate that a list of messages be sent to
53481135783SRuslan Ermilov.Pa mbox
5359b50d902SRodney W. Grimesin your home directory when you quit.
5369b50d902SRodney W. GrimesThis is the default
5379b50d902SRodney W. Grimesaction for messages if you do
5389b50d902SRodney W. Grimes.Em not
5399b50d902SRodney W. Grimeshave the
5409b50d902SRodney W. Grimes.Ic hold
5419b50d902SRodney W. Grimesoption set.
542856f23edSMike Heffner.It Ic more
54381135783SRuslan Ermilov.Pq Ic mo
544856f23edSMike HeffnerTakes a list of messages and invokes the pager on that list.
5459b50d902SRodney W. Grimes.It Ic next
546856f23edSMike Heffner.Ic ( n ,
5479b50d902SRodney W. Grimeslike
54881135783SRuslan Ermilov.Ic +
5499b50d902SRodney W. Grimesor
5509b50d902SRodney W. Grimes.Tn CR )
5519b50d902SRodney W. GrimesGoes to the next message in sequence and types it.
5529b50d902SRodney W. GrimesWith an argument list, types the next matching message.
5539b50d902SRodney W. Grimes.It Ic preserve
5549b50d902SRodney W. Grimes.Pq Ic pre
5559b50d902SRodney W. GrimesA synonym for
5569b50d902SRodney W. Grimes.Ic hold .
5579b50d902SRodney W. Grimes.It Ic print
5589b50d902SRodney W. Grimes.Pq Ic p
5599b50d902SRodney W. GrimesTakes a message list and types out each message on the user's terminal.
5609b50d902SRodney W. Grimes.It Ic quit
5619b50d902SRodney W. Grimes.Pq Ic q
5629b50d902SRodney W. GrimesTerminates the session, saving all undeleted, unsaved messages in
5639b50d902SRodney W. Grimesthe user's
56481135783SRuslan Ermilov.Pa mbox
5659b50d902SRodney W. Grimesfile in his login directory, preserving all messages marked with
5669b50d902SRodney W. Grimes.Ic hold
5679b50d902SRodney W. Grimesor
5689b50d902SRodney W. Grimes.Ic preserve
5699b50d902SRodney W. Grimesor never referenced
5709b50d902SRodney W. Grimesin his system mailbox, and removing all other messages from his system
5719b50d902SRodney W. Grimesmailbox.
5729b50d902SRodney W. GrimesIf new mail has arrived during the session, the message
5739b50d902SRodney W. Grimes.Dq Li "You have new mail"
5749b50d902SRodney W. Grimesis given.
5759b50d902SRodney W. GrimesIf given while editing a
5769b50d902SRodney W. Grimesmailbox file with the
5779b50d902SRodney W. Grimes.Fl f
5789b50d902SRodney W. Grimesflag, then the edit file is rewritten.
57981135783SRuslan ErmilovA return to the shell is
5809b50d902SRodney W. Grimeseffected, unless the rewrite of edit file fails, in which case the user
5819b50d902SRodney W. Grimescan escape with the
5829b50d902SRodney W. Grimes.Ic exit
5839b50d902SRodney W. Grimescommand.
5849b50d902SRodney W. Grimes.It Ic reply
5859b50d902SRodney W. Grimes.Pq Ic r
5869b50d902SRodney W. GrimesTakes a message list and sends mail to the sender and all
5879b50d902SRodney W. Grimesrecipients of the specified message.
5889b50d902SRodney W. GrimesThe default message must not be deleted.
5899b50d902SRodney W. Grimes.It Ic respond
5909b50d902SRodney W. GrimesA synonym for
5919b50d902SRodney W. Grimes.Ic reply .
5929b50d902SRodney W. Grimes.It Ic retain
5939b50d902SRodney W. GrimesAdd the list of header fields named to the
594856f23edSMike Heffner.Em "retained list" .
595856f23edSMike HeffnerOnly the header fields in the retained list
5969b50d902SRodney W. Grimesare shown on your terminal when you print a message.
5979b50d902SRodney W. GrimesAll other header fields are suppressed.
5989b50d902SRodney W. GrimesThe
599856f23edSMike Heffner.Ic type
6009b50d902SRodney W. Grimesand
601856f23edSMike Heffner.Ic print
6029b50d902SRodney W. Grimescommands can be used to print a message in its entirety.
6039b50d902SRodney W. GrimesIf
6049b50d902SRodney W. Grimes.Ic retain
6059b50d902SRodney W. Grimesis executed with no arguments, it lists the current set of
6069b50d902SRodney W. Grimesretained fields.
6079b50d902SRodney W. Grimes.It Ic save
6089b50d902SRodney W. Grimes.Pq Ic s
6099b50d902SRodney W. GrimesTakes a message list and a filename and appends each message in
6109b50d902SRodney W. Grimesturn to the end of the file.
6119b50d902SRodney W. GrimesThe filename in quotes, followed by the line
6129b50d902SRodney W. Grimescount and character count is echoed on the user's terminal.
6139b50d902SRodney W. Grimes.It Ic set
6149b50d902SRodney W. Grimes.Pq Ic se
6159b50d902SRodney W. GrimesWith no arguments, prints all variable values.
6169b50d902SRodney W. GrimesOtherwise, sets
6179b50d902SRodney W. Grimesoption.
6189b50d902SRodney W. GrimesArguments are of the form
61981135783SRuslan Ermilov.Ar option Ns Li = Ns Ar value
62081135783SRuslan Ermilov(no space before or after
62181135783SRuslan Ermilov.Ql = )
62281135783SRuslan Ermilovor
6239b50d902SRodney W. Grimes.Ar option .
6249b50d902SRodney W. GrimesQuotation marks may be placed around any part of the assignment statement to
62557e4378bSRuslan Ermilovquote blanks or tabs, i.e.\&
6269b50d902SRodney W. Grimes.Dq Li "set indentprefix=\*q->\*q"
6279b50d902SRodney W. Grimes.It Ic saveignore
6289b50d902SRodney W. Grimes.Ic Saveignore
6299b50d902SRodney W. Grimesis to
6309b50d902SRodney W. Grimes.Ic save
6319b50d902SRodney W. Grimeswhat
6329b50d902SRodney W. Grimes.Ic ignore
6339b50d902SRodney W. Grimesis to
6349b50d902SRodney W. Grimes.Ic print
6359b50d902SRodney W. Grimesand
6369b50d902SRodney W. Grimes.Ic type .
6379b50d902SRodney W. GrimesHeader fields thus marked are filtered out when
6389b50d902SRodney W. Grimessaving a message by
6399b50d902SRodney W. Grimes.Ic save
6409b50d902SRodney W. Grimesor when automatically saving to
64181135783SRuslan Ermilov.Pa mbox .
6429b50d902SRodney W. Grimes.It Ic saveretain
6439b50d902SRodney W. Grimes.Ic Saveretain
6449b50d902SRodney W. Grimesis to
6459b50d902SRodney W. Grimes.Ic save
6469b50d902SRodney W. Grimeswhat
6479b50d902SRodney W. Grimes.Ic retain
6489b50d902SRodney W. Grimesis to
6499b50d902SRodney W. Grimes.Ic print
6509b50d902SRodney W. Grimesand
6519b50d902SRodney W. Grimes.Ic type .
6529b50d902SRodney W. GrimesHeader fields thus marked are the only ones saved
6539b50d902SRodney W. Grimeswith a message when saving by
6549b50d902SRodney W. Grimes.Ic save
6559b50d902SRodney W. Grimesor when automatically saving to
65681135783SRuslan Ermilov.Pa mbox .
6579b50d902SRodney W. Grimes.Ic Saveretain
6589b50d902SRodney W. Grimesoverrides
6599b50d902SRodney W. Grimes.Ic saveignore .
6609b50d902SRodney W. Grimes.It Ic shell
6619b50d902SRodney W. Grimes.Pq Ic sh
6629b50d902SRodney W. GrimesInvokes an interactive version of the shell.
6639b50d902SRodney W. Grimes.It Ic size
6649b50d902SRodney W. GrimesTakes a message list and prints out the size in characters of each
6659b50d902SRodney W. Grimesmessage.
6669b50d902SRodney W. Grimes.It Ic source
6679b50d902SRodney W. GrimesThe
6689b50d902SRodney W. Grimes.Ic source
6699b50d902SRodney W. Grimescommand reads
6709b50d902SRodney W. Grimescommands from a file.
6719b50d902SRodney W. Grimes.It Ic top
6729b50d902SRodney W. GrimesTakes a message list and prints the top few lines of each.
6739b50d902SRodney W. GrimesThe number of
6749b50d902SRodney W. Grimeslines printed is controlled by the variable
67581135783SRuslan Ermilov.Va toplines
67681135783SRuslan Ermilovand defaults to 5.
6779b50d902SRodney W. Grimes.It Ic type
6789b50d902SRodney W. Grimes.Pq Ic t
6799b50d902SRodney W. GrimesA synonym for
6809b50d902SRodney W. Grimes.Ic print .
6819b50d902SRodney W. Grimes.It Ic unalias
6829b50d902SRodney W. GrimesTakes a list of names defined by
6839b50d902SRodney W. Grimes.Ic alias
6849b50d902SRodney W. Grimescommands and discards the remembered groups of users.
6859b50d902SRodney W. GrimesThe group names
6869b50d902SRodney W. Grimesno longer have any significance.
6879b50d902SRodney W. Grimes.It Ic undelete
6889b50d902SRodney W. Grimes.Pq Ic u
6899b50d902SRodney W. GrimesTakes a message list and marks each message as
69081135783SRuslan Ermilov.Em not
6919b50d902SRodney W. Grimesbeing deleted.
6929b50d902SRodney W. Grimes.It Ic unread
6939b50d902SRodney W. Grimes.Pq Ic U
6949b50d902SRodney W. GrimesTakes a message list and marks each message as
69581135783SRuslan Ermilov.Em not
6969b50d902SRodney W. Grimeshaving been read.
6979b50d902SRodney W. Grimes.It Ic unset
6989b50d902SRodney W. GrimesTakes a list of option names and discards their remembered values;
6999b50d902SRodney W. Grimesthe inverse of
7009b50d902SRodney W. Grimes.Ic set .
7019b50d902SRodney W. Grimes.It Ic visual
7029b50d902SRodney W. Grimes.Pq Ic v
7039b50d902SRodney W. GrimesTakes a message list and invokes the display editor on each message.
7049b50d902SRodney W. Grimes.It Ic write
7059b50d902SRodney W. Grimes.Pq Ic w
7069b50d902SRodney W. GrimesSimilar to
7079b50d902SRodney W. Grimes.Ic save ,
7089b50d902SRodney W. Grimesexcept that
70981135783SRuslan Ermilov.Em only
7109b50d902SRodney W. Grimesthe message body
71181135783SRuslan Ermilov.Em ( without
7129b50d902SRodney W. Grimesthe header) is saved.
7139b50d902SRodney W. GrimesExtremely useful for such tasks as sending and receiving source
7149b50d902SRodney W. Grimesprogram text over the message system.
7159b50d902SRodney W. Grimes.It Ic xit
7169b50d902SRodney W. Grimes.Pq Ic x
7179b50d902SRodney W. GrimesA synonym for
7189b50d902SRodney W. Grimes.Ic exit .
7199b50d902SRodney W. Grimes.It Ic z
720e8937ba0SPhilippe CharnierThe
721e8937ba0SPhilippe Charnier.Nm
722e8937ba0SPhilippe Charnierutility presents message headers in windowfuls as described under the
7239b50d902SRodney W. Grimes.Ic headers
7249b50d902SRodney W. Grimescommand.
7259b50d902SRodney W. GrimesYou can move
7268fe908efSRuslan Ermilov.Nm Ns 's
7279b50d902SRodney W. Grimesattention forward to the next window with the
72881135783SRuslan Ermilov.Ic z
7299b50d902SRodney W. Grimescommand.
7309b50d902SRodney W. GrimesAlso, you can move to the previous window by using
73181135783SRuslan Ermilov.Ic z\- .
7329b50d902SRodney W. Grimes.El
7339b50d902SRodney W. Grimes.Ss Tilde/Escapes
7349b50d902SRodney W. GrimesHere is a summary of the tilde escapes,
7359b50d902SRodney W. Grimeswhich are used when composing messages to perform
7369b50d902SRodney W. Grimesspecial functions.
7379b50d902SRodney W. GrimesTilde escapes are only recognized at the beginning
7389b50d902SRodney W. Grimesof lines.
7399b50d902SRodney W. GrimesThe name
74081135783SRuslan Ermilov.Dq "tilde escape"
7419b50d902SRodney W. Grimesis somewhat of a misnomer since the actual escape character can be set
7429b50d902SRodney W. Grimesby the option
74381135783SRuslan Ermilov.Va escape .
74481135783SRuslan Ermilov.Bl -tag -width indent
74581135783SRuslan Ermilov.It Ic ~a
74669131e40SMike HeffnerInserts the autograph string from the sign= option into the message.
74781135783SRuslan Ermilov.It Ic ~A
74869131e40SMike HeffnerInserts the autograph string from the Sign= option into the message.
74981135783SRuslan Ermilov.It Ic ~b Ar name ...
7509b50d902SRodney W. GrimesAdd the given names to the list of carbon copy recipients but do not make
75181135783SRuslan Ermilovthe names visible in the Cc: line
75281135783SRuslan Ermilov.Dq ( blind
75381135783SRuslan Ermilovcarbon copy).
75481135783SRuslan Ermilov.It Ic ~c Ar name ...
7559b50d902SRodney W. GrimesAdd the given names to the list of carbon copy recipients.
75681135783SRuslan Ermilov.It Ic ~d
7579b50d902SRodney W. GrimesRead the file
75881135783SRuslan Ermilov.Pa dead.letter
7599b50d902SRodney W. Grimesfrom your home directory into the message.
76081135783SRuslan Ermilov.It Ic ~e
7619b50d902SRodney W. GrimesInvoke the text editor on the message collected so far.
7629b50d902SRodney W. GrimesAfter the
7639b50d902SRodney W. Grimesediting session is finished, you may continue appending text to the
7649b50d902SRodney W. Grimesmessage.
76581135783SRuslan Ermilov.It Ic ~f Ar messages
7669b50d902SRodney W. GrimesRead the named messages into the message being sent.
7679b50d902SRodney W. GrimesIf no messages are specified, read in the current message.
7689b50d902SRodney W. GrimesMessage headers currently being ignored (by the
7699b50d902SRodney W. Grimes.Ic ignore
7709b50d902SRodney W. Grimesor
7719b50d902SRodney W. Grimes.Ic retain
7729b50d902SRodney W. Grimescommand) are not included.
77381135783SRuslan Ermilov.It Ic ~F Ar messages
7749b50d902SRodney W. GrimesIdentical to
77581135783SRuslan Ermilov.Ic ~f ,
7769b50d902SRodney W. Grimesexcept all message headers are included.
77781135783SRuslan Ermilov.It Ic ~h
7789b50d902SRodney W. GrimesEdit the message header fields by typing each one in turn and allowing
7799b50d902SRodney W. Grimesthe user to append text to the end or modify the field by using the
7809b50d902SRodney W. Grimescurrent terminal erase and kill characters.
78181135783SRuslan Ermilov.It Ic ~i Ar string
78269131e40SMike HeffnerInserts the value of the named option into the text of the message.
78381135783SRuslan Ermilov.It Ic ~m Ar messages
7849b50d902SRodney W. GrimesRead the named messages into the message being sent, indented by a
7859b50d902SRodney W. Grimestab or by the value of
78681135783SRuslan Ermilov.Va indentprefix .
7879b50d902SRodney W. GrimesIf no messages are specified,
7889b50d902SRodney W. Grimesread the current message.
7899b50d902SRodney W. GrimesMessage headers currently being ignored (by the
7909b50d902SRodney W. Grimes.Ic ignore
7919b50d902SRodney W. Grimesor
7929b50d902SRodney W. Grimes.Ic retain
7939b50d902SRodney W. Grimescommand) are not included.
79481135783SRuslan Ermilov.It Ic ~M Ar messages
7959b50d902SRodney W. GrimesIdentical to
79681135783SRuslan Ermilov.Ic ~m ,
7979b50d902SRodney W. Grimesexcept all message headers are included.
79881135783SRuslan Ermilov.It Ic ~p
7999b50d902SRodney W. GrimesPrint out the message collected so far, prefaced by the message header
8009b50d902SRodney W. Grimesfields.
80181135783SRuslan Ermilov.It Ic ~q
8029b50d902SRodney W. GrimesAbort the message being sent, copying the message to
80381135783SRuslan Ermilov.Pa dead.letter
8049b50d902SRodney W. Grimesin your home directory if
80581135783SRuslan Ermilov.Va save
8069b50d902SRodney W. Grimesis set.
80781135783SRuslan Ermilov.It Ic ~r Ar filename , Ic ~r Li \&! Ns Ar command
80881135783SRuslan Ermilov.It Ic ~< Ar filename , Ic ~< Li \&! Ns Ar command
8099b50d902SRodney W. GrimesRead the named file into the message.
81081135783SRuslan ErmilovIf the argument begins with a
81181135783SRuslan Ermilov.Ql \&! ,
81269131e40SMike Heffnerthe rest of the string is taken as an arbitrary system command and is
81369131e40SMike Heffnerexecuted, with the standard output inserted into the message.
81481135783SRuslan Ermilov.It Ic ~R Ar string
81599bd6601SJoerg WunschUse
81699bd6601SJoerg Wunsch.Ar string
81799bd6601SJoerg Wunschas the Reply-To field.
81881135783SRuslan Ermilov.It Ic ~s Ar string
8199b50d902SRodney W. GrimesCause the named string to become the current subject field.
82081135783SRuslan Ermilov.It Ic ~t Ar name ...
8219b50d902SRodney W. GrimesAdd the given names to the direct recipient list.
82281135783SRuslan Ermilov.It Ic ~v
823856f23edSMike HeffnerInvoke an alternative editor (defined by the
8249b50d902SRodney W. Grimes.Ev VISUAL
82557906e00SPhilippe Charnierenvironment variable) on the
8269b50d902SRodney W. Grimesmessage collected so far.
827856f23edSMike HeffnerUsually, the alternative editor will be a
8289b50d902SRodney W. Grimesscreen editor.
8299b50d902SRodney W. GrimesAfter you quit the editor, you may resume appending
8309b50d902SRodney W. Grimestext to the end of your message.
83181135783SRuslan Ermilov.It Ic ~w Ar filename
8329b50d902SRodney W. GrimesWrite the message onto the named file.
83381135783SRuslan Ermilov.It Ic ~x
83481135783SRuslan ErmilovExits as with
83581135783SRuslan Ermilov.Ic ~q ,
83681135783SRuslan Ermilovexcept the message is not saved in
83781135783SRuslan Ermilov.Pa dead.letter .
83881135783SRuslan Ermilov.It Ic ~! Ar command
83969131e40SMike HeffnerExecute the indicated shell command, then return to the message.
84081135783SRuslan Ermilov.It Ic ~| Ar command , Ic ~^ Ar command
8419b50d902SRodney W. GrimesPipe the message through the command as a filter.
8429b50d902SRodney W. GrimesIf the command gives
8439b50d902SRodney W. Grimesno output or terminates abnormally, retain the original text of the
8449b50d902SRodney W. Grimesmessage.
8459b50d902SRodney W. GrimesThe command
8469b50d902SRodney W. Grimes.Xr fmt 1
8479b50d902SRodney W. Grimesis often used as
84881135783SRuslan Ermilov.Ar command
8499b50d902SRodney W. Grimesto rejustify the message.
85081135783SRuslan Ermilov.It Ic ~: Ar mail-command , Ic ~_ Ar mail-command
85181135783SRuslan ErmilovExecute the given
85281135783SRuslan Ermilov.Nm
85381135783SRuslan Ermilovcommand.
8549b50d902SRodney W. GrimesNot all commands, however, are allowed.
85581135783SRuslan Ermilov.It Ic ~~ Ar string
85681135783SRuslan ErmilovInsert the string of text in the message prefaced by a single
85781135783SRuslan Ermilov.Ql ~ .
8589b50d902SRodney W. GrimesIf
8599b50d902SRodney W. Grimesyou have changed the escape character, then you should double
8609b50d902SRodney W. Grimesthat character in order to send it.
8619b50d902SRodney W. Grimes.El
86281135783SRuslan Ermilov.Ss "Mail Options"
863d1821d3dSMike HeffnerOptions can be set with the
8649b50d902SRodney W. Grimes.Ic set
865d1821d3dSMike Heffnercommand
866d1821d3dSMike Heffnerand can be disabled with the
8679b50d902SRodney W. Grimes.Ic unset
868d1821d3dSMike Heffneror
869d1821d3dSMike Heffner.Ic set Cm no Ns Ar name
8709b50d902SRodney W. Grimescommands.
8719b50d902SRodney W. GrimesOptions may be either binary, in which case it is only
8729b50d902SRodney W. Grimessignificant to see whether they are set or not; or string, in which
8739b50d902SRodney W. Grimescase the actual value is of interest.
87459c3f4f7SMike HeffnerIf an option is not set,
87559c3f4f7SMike Heffner.Nm
87659c3f4f7SMike Heffnerwill look for an environment variable of the same name.
8779b50d902SRodney W. GrimesThe binary options include the following:
8783e048b59SRuslan Ermilov.Bl -tag -width indent
87981135783SRuslan Ermilov.It Va append
8809b50d902SRodney W. GrimesCauses messages saved in
88181135783SRuslan Ermilov.Pa mbox
8829b50d902SRodney W. Grimesto be appended to the end rather than prepended.
883e9b074c3SJordan K. HubbardThis should always be set (preferably in one of the system-wide
884e9b074c3SJordan K. Hubbard.Pa mail.rc
885e9b074c3SJordan K. Hubbardfiles).
886d1821d3dSMike HeffnerDefault is
887d1821d3dSMike Heffner.Va noappend .
88881135783SRuslan Ermilov.It Va ask , asksub
8899b50d902SRodney W. GrimesCauses
8908fe908efSRuslan Ermilov.Nm
8919b50d902SRodney W. Grimesto prompt you for the subject of each message you send.
8929b50d902SRodney W. GrimesIf
8939b50d902SRodney W. Grimesyou respond with simply a newline, no subject field will be sent.
894d1821d3dSMike HeffnerDefault is
895d1821d3dSMike Heffner.Va asksub .
89681135783SRuslan Ermilov.It Va askbcc
897856f23edSMike HeffnerCauses you to be prompted for additional blind carbon copy recipients at the
898856f23edSMike Heffnerend of each message.
899856f23edSMike HeffnerResponding with a newline indicates your
900856f23edSMike Heffnersatisfaction with the current list.
901d1821d3dSMike HeffnerDefault is
902d1821d3dSMike Heffner.Va noaskbcc .
90381135783SRuslan Ermilov.It Va askcc
9049b50d902SRodney W. GrimesCauses you to be prompted for additional carbon copy recipients at the
9059b50d902SRodney W. Grimesend of each message.
9069b50d902SRodney W. GrimesResponding with a newline indicates your
9079b50d902SRodney W. Grimessatisfaction with the current list.
908d1821d3dSMike HeffnerDefault is
909d1821d3dSMike Heffner.Va noaskcc .
91081135783SRuslan Ermilov.It Va autoinc
911856f23edSMike HeffnerCauses new mail to be automatically incorporated when it arrives.
912856f23edSMike HeffnerSetting this is similar to issuing the
913856f23edSMike Heffner.Ic inc
914856f23edSMike Heffnercommand at each prompt, except that the current message is not
915856f23edSMike Heffnerreset when new mail arrives.
916d1821d3dSMike HeffnerDefault is
917d1821d3dSMike Heffner.Va noautoinc .
91881135783SRuslan Ermilov.It Va autoprint
9199b50d902SRodney W. GrimesCauses the
9209b50d902SRodney W. Grimes.Ic delete
9219b50d902SRodney W. Grimescommand to behave like
92281135783SRuslan Ermilov.Ic dp ;
92381135783SRuslan Ermilovthus, after deleting a message, the next one will be typed
9249b50d902SRodney W. Grimesautomatically.
925d1821d3dSMike HeffnerDefault is
926d1821d3dSMike Heffner.Va noautoprint .
927d1821d3dSMike Heffner.It Va crt
928d1821d3dSMike HeffnerThe valued option
929d1821d3dSMike Heffner.Va crt
930d1821d3dSMike Heffneris used as a threshold to determine how long a message must
931d1821d3dSMike Heffnerbe before
932d1821d3dSMike Heffner.Ev PAGER
933d1821d3dSMike Heffneris used to read it.
934d1821d3dSMike HeffnerIf
935d1821d3dSMike Heffner.Va crt
936d1821d3dSMike Heffneris set without a value,
937d1821d3dSMike Heffnerthen the height of the terminal screen stored in the system
938d1821d3dSMike Heffneris used to compute the threshold (see
939d1821d3dSMike Heffner.Xr stty 1 ) .
940d1821d3dSMike HeffnerDefault is
941d1821d3dSMike Heffner.Va nocrt .
94281135783SRuslan Ermilov.It Va debug
9439b50d902SRodney W. GrimesSetting the binary option
94481135783SRuslan Ermilov.Va debug
9459b50d902SRodney W. Grimesis the same as specifying
9469b50d902SRodney W. Grimes.Fl d
9479b50d902SRodney W. Grimeson the command line and causes
9488fe908efSRuslan Ermilov.Nm
9499b50d902SRodney W. Grimesto output all sorts of information useful for debugging
9508fe908efSRuslan Ermilov.Nm .
951d1821d3dSMike HeffnerDefault is
952d1821d3dSMike Heffner.Va nodebug .
95381135783SRuslan Ermilov.It Va dot
9549b50d902SRodney W. GrimesThe binary option
95581135783SRuslan Ermilov.Va dot
9569b50d902SRodney W. Grimescauses
9578fe908efSRuslan Ermilov.Nm
9589b50d902SRodney W. Grimesto interpret a period alone on a line as the terminator
9599b50d902SRodney W. Grimesof a message you are sending.
960d1821d3dSMike HeffnerDefault is
961d1821d3dSMike Heffner.Va nodot .
962d1821d3dSMike Heffner.It Va escape
963d1821d3dSMike HeffnerIf defined, the first character of this option gives the character to
964d1821d3dSMike Heffneruse in place of
965d1821d3dSMike Heffner.Ql ~
966d1821d3dSMike Heffnerto denote escapes.
967d1821d3dSMike Heffner.It Va folder
968d1821d3dSMike HeffnerThe name of the directory to use for storing folders of
969d1821d3dSMike Heffnermessages.
970d1821d3dSMike HeffnerIf this name begins with a
971d1821d3dSMike Heffner.Ql / ,
972d1821d3dSMike Heffner.Nm
973d1821d3dSMike Heffnerconsiders it to be an absolute pathname; otherwise, the
974d1821d3dSMike Heffnerfolder directory is found relative to your home directory.
975d1821d3dSMike Heffner.It Va header
976d1821d3dSMike HeffnerIf defined, initially display message headers when reading mail or
977d1821d3dSMike Heffnerediting a mail folder.
978d1821d3dSMike HeffnerDefault is
979d1821d3dSMike Heffner.Va header .
980d1821d3dSMike HeffnerThis option can be disabled by giving the
981d1821d3dSMike Heffner.Fl N
982d1821d3dSMike Heffnerflag on the command line.
98381135783SRuslan Ermilov.It Va hold
9849b50d902SRodney W. GrimesThis option is used to hold messages in the system mailbox
9859b50d902SRodney W. Grimesby default.
986d1821d3dSMike HeffnerDefault is
987d1821d3dSMike Heffner.Va nohold .
98881135783SRuslan Ermilov.It Va ignore
9899b50d902SRodney W. GrimesCauses interrupt signals from your terminal to be ignored and echoed as
99081135783SRuslan Ermilov.Li @ Ns 's.
991d1821d3dSMike HeffnerDefault is
992d1821d3dSMike Heffner.Va noignore .
99381135783SRuslan Ermilov.It Va ignoreeof
9949b50d902SRodney W. GrimesAn option related to
99581135783SRuslan Ermilov.Va dot
9969b50d902SRodney W. Grimesis
99781135783SRuslan Ermilov.Va ignoreeof
9989b50d902SRodney W. Grimeswhich makes
9998fe908efSRuslan Ermilov.Nm
100081135783SRuslan Ermilovrefuse to accept a
100181135783SRuslan Ermilov.Aq Li control-D
100281135783SRuslan Ermilovas the end of a message.
10039b50d902SRodney W. Grimes.Ar Ignoreeof
10049b50d902SRodney W. Grimesalso applies to
10058fe908efSRuslan Ermilov.Nm
10069b50d902SRodney W. Grimescommand mode.
1007d1821d3dSMike HeffnerDefault is
1008d1821d3dSMike Heffner.Va noignoreeof .
1009d1821d3dSMike Heffner.It Va indentprefix
1010d1821d3dSMike HeffnerString used by the
1011d1821d3dSMike Heffner.Ic ~m
1012d1821d3dSMike Heffnertilde escape for indenting messages, in place of
1013d1821d3dSMike Heffnerthe normal tab character
1014d1821d3dSMike Heffner.Pq Li ^I .
1015d1821d3dSMike HeffnerBe sure to quote the value if it contains
1016d1821d3dSMike Heffnerspaces or tabs.
101781135783SRuslan Ermilov.It Va metoo
10189b50d902SRodney W. GrimesUsually, when a group is expanded that contains the sender, the sender
10199b50d902SRodney W. Grimesis removed from the expansion.
10209b50d902SRodney W. GrimesSetting this option causes the sender
10219b50d902SRodney W. Grimesto be included in the group.
1022d1821d3dSMike HeffnerDefault is
1023d1821d3dSMike Heffner.Va nometoo .
1024d1821d3dSMike Heffner.It Va quiet
1025d1821d3dSMike HeffnerSuppresses the printing of the version when first invoked.
1026d1821d3dSMike HeffnerDefault is
1027d1821d3dSMike Heffner.Va noquiet .
1028d1821d3dSMike Heffner.It Va record
1029d1821d3dSMike HeffnerIf defined, gives the pathname of the file used to record all outgoing
1030d1821d3dSMike Heffnermail.
1031d1821d3dSMike HeffnerIf not defined, outgoing mail is not saved.
1032d1821d3dSMike HeffnerDefault is
1033d1821d3dSMike Heffner.Va norecord .
103481135783SRuslan Ermilov.It Va Replyall
10359b50d902SRodney W. GrimesReverses the sense of
10369b50d902SRodney W. Grimes.Ic reply
10379b50d902SRodney W. Grimesand
10389b50d902SRodney W. Grimes.Ic Reply
10399b50d902SRodney W. Grimescommands.
1040d1821d3dSMike HeffnerDefault is
1041d1821d3dSMike Heffner.Va noReplyall .
1042d1821d3dSMike Heffner.It Va save
1043d1821d3dSMike HeffnerIf this option is set, and you abort a message with two
1044d1821d3dSMike Heffner.Tn RUBOUT
1045d1821d3dSMike Heffner(erase or delete),
1046d1821d3dSMike Heffner.Nm
1047d1821d3dSMike Heffnerwill copy the partial letter to the file
1048d1821d3dSMike Heffner.Pa dead.letter
1049d1821d3dSMike Heffnerin your home directory.
1050d1821d3dSMike HeffnerDefault is
1051d1821d3dSMike Heffner.Va save .
105281135783SRuslan Ermilov.It Va searchheaders
1053856f23edSMike HeffnerIf this option is set, then a message-list specifier in the form
1054856f23edSMike Heffner.Dq Li / Ns Ar x Ns Li : Ns Ar y
1055856f23edSMike Heffnerwill expand to all messages containing the substring
105681135783SRuslan Ermilov.Ar y
1057856f23edSMike Heffnerin the header field
105881135783SRuslan Ermilov.Ar x .
1059856f23edSMike HeffnerThe string search is case insensitive.
1060856f23edSMike HeffnerIf
106181135783SRuslan Ermilov.Ar x
1062856f23edSMike Heffneris ommitted, it will default to the
1063856f23edSMike Heffner.Dq Li Subject
1064856f23edSMike Heffnerheader field.
1065856f23edSMike HeffnerThe form
1066856f23edSMike Heffner.Dq Li /to: Ns Ar y
1067856f23edSMike Heffneris a special case, and will expand
1068856f23edSMike Heffnerto all messages containing the substring
106981135783SRuslan Ermilov.Ar y
1070856f23edSMike Heffnerin the
1071856f23edSMike Heffner.Dq Li To ,
1072856f23edSMike Heffner.Dq Li Cc
1073856f23edSMike Heffneror
1074856f23edSMike Heffner.Dq Li Bcc
1075856f23edSMike Heffnerheader fields.
1076856f23edSMike HeffnerThe check for
1077856f23edSMike Heffner.Qq Li "to"
1078856f23edSMike Heffneris case sensitive, so that
107927c7d5ffSMike Heffner.Dq Li /To: Ns Ar y
1080856f23edSMike Heffnercan be used to limit the search for
108181135783SRuslan Ermilov.Ar y
1082856f23edSMike Heffnerto just the
1083856f23edSMike Heffner.Dq Li To:
1084856f23edSMike Heffnerfield.
1085d1821d3dSMike HeffnerDefault is
1086d1821d3dSMike Heffner.Va nosearchheaders .
1087d1821d3dSMike Heffner.It Va toplines
1088d1821d3dSMike HeffnerIf defined, gives the number of lines of a message to be printed out
1089d1821d3dSMike Heffnerwith the
1090d1821d3dSMike Heffner.Ic top
1091d1821d3dSMike Heffnercommand; normally, the first five lines are printed.
109281135783SRuslan Ermilov.It Va verbose
10939b50d902SRodney W. GrimesSetting the option
109481135783SRuslan Ermilov.Va verbose
10959b50d902SRodney W. Grimesis the same as using the
10969b50d902SRodney W. Grimes.Fl v
10979b50d902SRodney W. Grimesflag on the command line.
109881135783SRuslan ErmilovWhen
109981135783SRuslan Ermilov.Nm
110081135783SRuslan Ermilovruns in verbose mode,
11019b50d902SRodney W. Grimesthe actual delivery of messages is displayed on the user's
11029b50d902SRodney W. Grimesterminal.
1103d1821d3dSMike HeffnerDefault is
1104d1821d3dSMike Heffner.Va noverbose .
11059b50d902SRodney W. Grimes.El
1106d1821d3dSMike Heffner.Sh ENVIRONMENT
1107d1821d3dSMike Heffner.Bl -tag -width ".Ev REPLYTO"
1108d1821d3dSMike Heffner.It Ev DEAD
1109d1821d3dSMike HeffnerPathname of the file to save partial messages to in case of interrupts
1110d1821d3dSMike Heffneror delivery errors.
1111d1821d3dSMike HeffnerDefault is
1112d1821d3dSMike Heffner.Pa ~/dead.letter .
11139b50d902SRodney W. Grimes.It Ev EDITOR
11149b50d902SRodney W. GrimesPathname of the text editor to use in the
11159b50d902SRodney W. Grimes.Ic edit
11169b50d902SRodney W. Grimescommand and
111781135783SRuslan Ermilov.Ic ~e
11189b50d902SRodney W. Grimesescape.
11199b50d902SRodney W. GrimesIf not defined, then a default editor is used.
1120d1821d3dSMike Heffner.It Ev HOME
1121d1821d3dSMike HeffnerPathname of the user's home directory.
11229b50d902SRodney W. Grimes.It Ev LISTER
11239b50d902SRodney W. GrimesPathname of the directory lister to use in the
11249b50d902SRodney W. Grimes.Ic folders
11259b50d902SRodney W. Grimescommand.
11269b50d902SRodney W. GrimesDefault is
11279b50d902SRodney W. Grimes.Pa /bin/ls .
1128d1821d3dSMike Heffner.It Ev MAIL
1129d1821d3dSMike HeffnerLocation of the user's mailbox.
1130d1821d3dSMike HeffnerDefault is
1131d1821d3dSMike Heffner.Pa /var/mail .
1132d1821d3dSMike Heffner.It Ev MAILRC
1133d1821d3dSMike HeffnerPathname of file containing initial
1134d1821d3dSMike Heffner.Nm
1135d1821d3dSMike Heffnercommands.
1136d1821d3dSMike HeffnerDefault is
1137d1821d3dSMike Heffner.Pa ~/.mailrc .
1138d1821d3dSMike Heffner.It Ev MBOX
1139d1821d3dSMike HeffnerThe name of the mailbox file.
1140d1821d3dSMike HeffnerIt can be the name of a folder.
1141d1821d3dSMike HeffnerThe default is
1142d1821d3dSMike Heffner.Pa mbox
1143d1821d3dSMike Heffnerin the user's home directory.
11449b50d902SRodney W. Grimes.It Ev PAGER
11459b50d902SRodney W. GrimesPathname of the program to use in the
11469b50d902SRodney W. Grimes.Ic more
11479b50d902SRodney W. Grimescommand or when
114881135783SRuslan Ermilov.Va crt
11499b50d902SRodney W. Grimesvariable is set.
11509b50d902SRodney W. GrimesThe default paginator
11519b50d902SRodney W. Grimes.Xr more 1
11529b50d902SRodney W. Grimesis used if this option is not defined.
115399bd6601SJoerg Wunsch.It Ev REPLYTO
115499bd6601SJoerg WunschIf set, will be used to initialize the Reply-To field for outgoing
115599bd6601SJoerg Wunschmessages.
11569b50d902SRodney W. Grimes.It Ev SHELL
11579b50d902SRodney W. GrimesPathname of the shell to use in the
1158856f23edSMike Heffner.Ic \&!
11599b50d902SRodney W. Grimescommand and the
116081135783SRuslan Ermilov.Ic ~!
11619b50d902SRodney W. Grimesescape.
11629b50d902SRodney W. GrimesA default shell is used if this option is
11639b50d902SRodney W. Grimesnot defined.
11649b50d902SRodney W. Grimes.It Ev VISUAL
11659b50d902SRodney W. GrimesPathname of the text editor to use in the
11669b50d902SRodney W. Grimes.Ic visual
11679b50d902SRodney W. Grimescommand and
116881135783SRuslan Ermilov.Ic ~v
11699b50d902SRodney W. Grimesescape.
1170d1821d3dSMike Heffner.It Ev USER
1171d1821d3dSMike HeffnerLogin name of the user executing mail.
11729b50d902SRodney W. Grimes.El
11739b50d902SRodney W. Grimes.Sh FILES
117481135783SRuslan Ermilov.Bl -tag -width ".Pa /usr/share/misc/mail.*help" -compact
1175ec07fbefSMark Murray.It Pa /var/mail/*
11769b50d902SRodney W. GrimesPost office.
1177d0353b83SRuslan Ermilov.It Pa ~/mbox
11789b50d902SRodney W. GrimesUser's old mail.
1179d0353b83SRuslan Ermilov.It Pa ~/.mailrc
118081135783SRuslan ErmilovFile giving initial
118181135783SRuslan Ermilov.Nm
118281135783SRuslan Ermilovcommands.
1183856f23edSMike HeffnerThis can be overridden by setting the
1184856f23edSMike Heffner.Ev MAILRC
1185856f23edSMike Heffnerenvironment variable.
11869b50d902SRodney W. Grimes.It Pa /tmp/R*
11879b50d902SRodney W. GrimesTemporary files.
1188e9b074c3SJordan K. Hubbard.It Pa /usr/share/misc/mail.*help
11899b50d902SRodney W. GrimesHelp files.
1190726b61abSRuslan Ermilov.Pp
1191e9b074c3SJordan K. Hubbard.It Pa /usr/share/misc/mail.rc
1192e9b074c3SJordan K. Hubbard.It Pa /usr/local/etc/mail.rc
1193000ee932SWolfram Schneider.It Pa /etc/mail.rc
119487faa07bSSheldon HearnSystem-wide initialization files.
119587faa07bSSheldon HearnEach file will be sourced, in order,
1196e9b074c3SJordan K. Hubbardif it exists.
11979b50d902SRodney W. Grimes.El
11989b50d902SRodney W. Grimes.Sh SEE ALSO
11999b50d902SRodney W. Grimes.Xr fmt 1 ,
12009b50d902SRodney W. Grimes.Xr newaliases 1 ,
12019b50d902SRodney W. Grimes.Xr vacation 1 ,
12029b50d902SRodney W. Grimes.Xr aliases 5 ,
12039b50d902SRodney W. Grimes.Xr mailaddr 7 ,
12049b50d902SRodney W. Grimes.Xr sendmail 8
12059b50d902SRodney W. Grimes.Rs
120698849115SRuslan Ermilov.%T "The Mail Reference Manual"
12079b50d902SRodney W. Grimes.Re
12089b50d902SRodney W. Grimes.Sh HISTORY
12099b50d902SRodney W. GrimesA
1210b8923d4cSWolfram Schneider.Nm
12119b50d902SRodney W. Grimescommand
12129b50d902SRodney W. Grimesappeared in
1213b8923d4cSWolfram Schneider.At v1 .
12149b50d902SRodney W. GrimesThis man page is derived from
12159b50d902SRodney W. Grimes.%T "The Mail Reference Manual"
121681135783SRuslan Ermilovoriginally written by
121781135783SRuslan Ermilov.An Kurt Shoens .
12189b50d902SRodney W. Grimes.Sh BUGS
12199b50d902SRodney W. GrimesThere are some flags that are not documented here.
12209b50d902SRodney W. GrimesMost are
12219b50d902SRodney W. Grimesnot useful to the general user.
12229b50d902SRodney W. Grimes.Pp
12239b50d902SRodney W. GrimesUsually,
12248fe908efSRuslan Ermilov.Nm
12259b50d902SRodney W. Grimesis just a link to
122694ef258fSMike Heffner.Nm Mail
122794ef258fSMike Heffnerand
122894ef258fSMike Heffner.Nm mailx ,
12299b50d902SRodney W. Grimeswhich can be confusing.
1230856f23edSMike Heffner.Pp
1231856f23edSMike HeffnerThe name of the
1232856f23edSMike Heffner.Ic alternates
1233856f23edSMike Heffnerlist is incorrect English (it should be
1234856f23edSMike Heffner.Dq alternatives ) ,
1235856f23edSMike Heffnerbut is retained for compatibility.
1236