summaryrefslogtreecommitdiff
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-16 06:05:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-16 06:05:19 +0000
commit128f7b61df79187fbda96ba8c35a898bf089dd39 (patch)
tree6a7ac539abf8e7ca0d0917feec492dcb6c72df33 /usr.bin/mail
parentb7a6a7507475267b084236566b8b21631ce9d6fa (diff)
mention MAIL environment variable
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/mail.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/mail/mail.1 b/usr.bin/mail/mail.1
index a9d50159403..2bae2ad8d46 100644
--- a/usr.bin/mail/mail.1
+++ b/usr.bin/mail/mail.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mail.1,v 1.11 1998/06/25 07:29:05 deraadt Exp $
+.\" $OpenBSD: mail.1,v 1.12 1998/07/16 06:05:18 millert Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1040,10 +1040,17 @@ utilizes the
and
.Ev USER
environment variables.
+.Pp
+If the
+.Ev MAIL
+environment variable is set, its value is used as the path to the
+user's mail spool.
.Sh FILES
.Bl -tag -width /usr/share/misc/mail.*help -compact
.It Pa /var/mail/*
-Post office.
+Post office (unless overridden by the
+.Ev MAIL
+environment variable).
.It ~/mbox
User's old mail.
.It ~/.mailrc
@@ -1064,6 +1071,7 @@ System initialization file.
.Xr vacation 1 ,
.Xr aliases 5 ,
.Xr mailaddr 7 ,
+.Xr mail.local 8 ,
.Xr sendmail 8
and
.Rs