align include/paths: MAILDIR

Change-Id: Ieb50549f8f27af957f67fcb0757690db88fecc8b
This commit is contained in:
Lionel Sambuc 2013-12-02 18:09:47 +01:00
parent 78a74622be
commit a6e7b85835
5 changed files with 891 additions and 891 deletions

View file

@ -26,8 +26,8 @@
#define SHELL "/bin/sh" #define SHELL "/bin/sh"
#define DROPNAME "/usr/spool/mail/%s" #define DROPNAME "/var/mail/%s"
#define LOCKNAME "/usr/spool/mail/%s.lock" #define LOCKNAME "/var/mail/%s.lock"
#define LOCKWAIT 5 /* seconds to wait after collision */ #define LOCKWAIT 5 /* seconds to wait after collision */
#define LOCKTRIES 4 /* maximum number of collisions */ #define LOCKTRIES 4 /* maximum number of collisions */

File diff suppressed because it is too large Load diff

View file

@ -135,7 +135,6 @@
./usr/spool/crontabs ./usr/spool/crontabs
./usr/spool/locks ./usr/spool/locks
./usr/spool/lpd ./usr/spool/lpd
./usr/spool/mail
./usr/src ./usr/src
./usr/tests ./usr/tests
./usr/var ./usr/var
@ -145,6 +144,7 @@
./var ./var
./var/db ./var/db
./var/db/obsolete ./var/db/obsolete
./var/mail
./var/run ./var/run
# Directories with special access rights # Directories with special access rights

View file

@ -77,7 +77,7 @@
#define _PATH_KSYMS "/dev/ksyms" #define _PATH_KSYMS "/dev/ksyms"
#define _PATH_KVMDB "/var/db/kvm.db" #define _PATH_KVMDB "/var/db/kvm.db"
#define _PATH_LOCALE "/usr/share/locale" #define _PATH_LOCALE "/usr/share/locale"
#define _PATH_MAILDIR "/usr/spool/mail" #define _PATH_MAILDIR "/var/mail"
#define _PATH_MAN "/usr/share/man" #define _PATH_MAN "/usr/share/man"
#define _PATH_MEM "/dev/mem" #define _PATH_MEM "/dev/mem"
#define _PATH_MIXER "/dev/mixer" #define _PATH_MIXER "/dev/mixer"

View file

@ -31,7 +31,7 @@ mail \- send and receive electronic mail
# Reverse print order, i.e., print oldest first # Reverse print order, i.e., print oldest first
.TP 5 .TP 5
.B \-f .B \-f
# Use \fIfile\fR instead of \fI/usr/spool/mail/user\fR as mailbox # Use \fIfile\fR instead of \fI/var/mail/user\fR as mailbox
.PP .PP
.TP 5 .TP 5
.B \-d .B \-d
@ -56,7 +56,7 @@ mail \- send and receive electronic mail
.B cat mail.cdiff | mail -s ''Here's the diff!'' asw .B cat mail.cdiff | mail -s ''Here's the diff!'' asw
# Pipe program output to mail with a subject line # Pipe program output to mail with a subject line
.TP 20 .TP 20
.B mail -f /usr/spool/mail/asw .B mail -f /var/mail/asw
# How root can read asw's mail # How root can read asw's mail
.SH DESCRIPTION .SH DESCRIPTION
.PP .PP
@ -71,7 +71,7 @@ No such agent is supplied with
\s-1MINIX 3\s-1. \s-1MINIX 3\s-1.
.PP .PP
When called by \fIuser\fR with no arguments, it examines the mailbox When called by \fIuser\fR with no arguments, it examines the mailbox
\fI/usr/spool/mail/user\fR, prints one message (depending on the \fB\-r\fR \fI/var/mail/user\fR, prints one message (depending on the \fB\-r\fR
flag), and waits for one of the following commands: flag), and waits for one of the following commands:
.PP .PP
.nf .nf
@ -90,10 +90,10 @@ flag), and waits for one of the following commands:
To send mail, the program is called with the name of one or more recipients as To send mail, the program is called with the name of one or more recipients as
arguments. The mail is sent, along with a postmark line containing the date. arguments. The mail is sent, along with a postmark line containing the date.
For local delivery, a file named after each recipient in the directory For local delivery, a file named after each recipient in the directory
\fI/usr/spool/mail\fR must be writable. If a spool file does not exist for \fI/var/mail\fR must be writable. If a spool file does not exist for
a recipient it will be created. a recipient it will be created.
.PP .PP
If the directory \fI/usr/spool/mail\fR does not exist then the mail is If the directory \fI/var/mail\fR does not exist then the mail is
dumped on the console, so that system programs have a way to notify dumped on the console, so that system programs have a way to notify
a user on a system that does not have a mail spool. a user on a system that does not have a mail spool.
.PP .PP