Document startup behaviour of mail(1).
PR: docs/1577 Submitted by: Joseph Koshy <koshy@india.hp.com>
This commit is contained in:
parent
1949905f8b
commit
727c14404a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52989
@ -112,6 +112,24 @@ Is equivalent to:
|
||||
.Pp
|
||||
.Dl mail -f /var/mail/user
|
||||
.El
|
||||
.Ss Startup actions
|
||||
At startup time
|
||||
.Nm
|
||||
will execute commands in the system command files
|
||||
.Pa /usr/share/misc/mail.rc ,
|
||||
.Pa /usr/local/etc/mail.rc
|
||||
and
|
||||
.Pa /etc/mail.rc
|
||||
in order, unless explicitly told not to by the use of the
|
||||
.Fl n
|
||||
option.
|
||||
Next, the commands in the user's personal command file
|
||||
.Pa ~/.mailrc
|
||||
are executed.
|
||||
.Nm
|
||||
then examines its command line options to determine whether a
|
||||
new message is to be sent, or whether an existing mailbox is to
|
||||
be read.
|
||||
.Ss Sending mail
|
||||
To send a message to one or more people,
|
||||
.Nm mail
|
||||
|
Loading…
Reference in New Issue
Block a user