|
|
1.1 root 1: .\" @(#)binmail.1 6.1 (Berkeley) 4/29/85
2: .\"
3: .TH BINMAIL 1 "April 29, 1985"
4: .AT 3
5: .SH NAME
6: binmail \- send or receive mail among users
7: .SH SYNOPSIS
8: .B /bin/mail
9: [
10: .B +
11: ] [
12: .B \-i
13: ] [ person ] ...
14: .br
15: .B /bin/mail
16: .B "[ + ]"
17: [
18: .B \-i
19: ]
20: .B \-f
21: file
22: .LP
23: .SH DESCRIPTION
24: Note: This is the old version 7 UNIX system mail program. The default
25: .I mail
26: command is described in
27: .IR Mail (1),
28: and its binary is in the directory
29: .IR /usr/ucb .
30: .PP
31: .I mail
32: with no argument prints a user's mail, message-by-message,
33: in last-in, first-out order; the optional argument
34: .B +
35: displays the mail messages in first-in, first-out order.
36: For each message, it reads a line from the standard input
37: to direct disposition of the message.
38: .TP
39: newline
40: Go on to next message.
41: .TP
42: d
43: Delete message and go on to the next.
44: .TP
45: p
46: Print message again.
47: .TP
48: \-
49: Go back to previous message.
50: .TP
51: .RI "s [" " file " "] ..."
52: Save the message in the named
53: .I files
54: (`mbox' default).
55: .TP
56: .RI "w [" " file " "] ..."
57: Save the message, without a header, in the named
58: .I files
59: (`mbox' default).
60: .TP
61: .RI "m [" " person " "] ..."
62: Mail the message to the named
63: .I persons
64: (yourself is default).
65: .TP
66: EOT (control-D)
67: Put unexamined mail back in the mailbox and stop.
68: .TP
69: q
70: Same as EOT.
71: .TP
72: .RI ! command
73: Escape to the Shell to do
74: .IR command .
75: .TP
76: *
77: Print a command summary.
78: .PP
79: An interrupt normally terminates the
80: .I mail
81: command; the mail file is unchanged. The optional argument
82: .B \(mii
83: tells
84: .I mail
85: to continue after interrupts.
86: .PP
87: When
88: .I persons
89: are named,
90: .I mail
91: takes the standard input up to an end-of-file (or a line with just `.')
92: and adds it to each
93: .I person's
94: `mail' file. The message is preceded by the sender's name and a postmark.
95: Lines that look like postmarks are prepended with `>'. A
96: .I person
97: is usually a user name recognized by
98: .IR login (1).
99: To denote a recipient on a remote system, prefix
100: .I person
101: by the system name and exclamation mark (see
102: .IR uucp (1C)).
103: .PP
104: The
105: .B \-f
106: option causes the named file, for example, `mbox',
107: to be printed as if it were the mail file.
108: .PP
109: When a user logs in he is informed of the presence of mail.
110: .SH FILES
111: .ta \w'/usr/spool/mail/*.lock 'u
112: /etc/passwd to identify sender and locate persons
113: .br
114: .li
115: /usr/spool/mail/* incoming mail for user *
116: .br
117: mbox saved mail
118: .br
119: /tmp/ma* temp file
120: .br
121: /usr/spool/mail/*.lock lock for mail directory
122: .br
123: dead.letter unmailable text
124: .br
125: .SH "SEE ALSO"
126: Mail(1), write(1), uucp(1C), uux(1C), xsend(1), sendmail(8)
127: .SH BUGS
128: Race conditions sometimes result in a failure to remove a lock file.
129: .PP
130: Normally anybody can read your mail, unless it is sent by
131: .IR xsend (1).
132: An installation can overcome this by making
133: .I mail
134: a set-user-id command that owns the mail directory.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.