MiniUnix/usr/man/man1/mail.1
.th MAIL I 2/21/75
.sh NAME
mail \*- send mail to designated users
.sh SYNOPSIS
.bd mail
[
.bd \-yn
]
[ person ... ]
.sh DESCRIPTION
.it Mail
with no argument
searches for a file
called
.it .mail,
prints it if it is nonempty,
then asks if it should be saved.
If the answer
is
.bd y,
the mail is added to
.it mbox.
Finally
.it .mail
is truncated to zero length.
To leave the mailbox untouched,
hit `delete.'
The question can be answered on the command line
with the argument `\-y' or `\-n'.
.s3
When
.it persons
are named,
.it mail
takes the standard input up to an end of file
and adds it to each
.it person's
.it .mail
file.
The message is preceded by the sender's name and a postmark.
.s3
A
.it person
is either
a user name recognized by
.it login
(I),
in which case the mail
is sent to the default working directory of that user;
or the path name of a directory,
in which case
.it .mail
in that directory is used.
.s3
When a user logs in he is informed of the presence
of mail.
No mail will be received from a sender to whom
.it .mail
is inaccessible or unwritable.
.sh FILES
/etc/passwd to identify sender and locate persons
.br
/etc/utmp to identify sender
.br
.li
.mail input mail
.br
mbox saved mail
.br
/tmp/m# temp file
.sh "SEE ALSO"
write (I)
.sh BUGS