Commit | Line | Data |
---|---|---|
11a514e8 C |
1 | .TH NETMAIL 1 "6 February 1980" |
2 | .UC 4 | |
3 | .ds s 1 | |
4 | .ds o 1 | |
5 | .SH NAME | |
6 | netmail \- read mail on a remote machine over the network | |
7 | .SH SYNOPSIS | |
8 | .B netmail | |
9 | [ | |
10 | .B \-l | |
11 | username ] [ | |
12 | .B \-p | |
13 | password ] [ | |
14 | .B \-c | |
15 | ] [ | |
16 | .B \-q | |
17 | ] [ | |
18 | .B \-n | |
19 | ] [ | |
20 | .B \-f | |
21 | ] [ machine:username ] | |
22 | .SH DESCRIPTION | |
23 | Mail is checked and/or read on the specified | |
24 | .I machine. | |
25 | If the machine specification is omitted, the default machine is used. | |
26 | The command has two distinct modes depending on whether the | |
27 | .B \-c | |
28 | option is specified. | |
29 | .PP | |
30 | If | |
31 | .B \-c | |
32 | is specified, the presence of mail is checked on the remote machine. | |
33 | No password is required so it can be put in C shell `.netrc' file. | |
34 | A message is written or mailed back (see | |
35 | .IR net (\*s)) | |
36 | if there is or is not any unread mail. | |
37 | .PP | |
38 | If the | |
39 | .B \-c | |
40 | option is not specified, mail is read and mailed back to the user. | |
41 | A password is required. | |
42 | Mail is also appended to the remote file | |
43 | .I `mbox' | |
44 | as a precaution. | |
45 | .PP | |
46 | The | |
47 | .B \-q | |
48 | option suppresses the message sent back if there is no mail. | |
49 | The options | |
50 | .B \-l, | |
51 | .B \-p, | |
52 | .B \-f, | |
53 | and | |
54 | .B \-n | |
55 | behave exactly as in | |
56 | .IR net (\*s). | |
57 | (The login name can be specified either with the | |
58 | .B \-l | |
59 | option or by `machine:username'.) | |
60 | .PP | |
61 | .I Netmail | |
62 | executes the | |
63 | .IR net (\*s) | |
64 | command. | |
65 | .PP | |
66 | Examples: | |
67 | .IP " netmail\ \-c\ X:uname" 30 | |
68 | checks if there is mail for `uname' on the X machine, no password required. | |
69 | .IP " netmail\ X:uname" 30 | |
70 | reads mail for `uname' on the X machine, mails it back, password is required. | |
71 | .SH AUTHOR | |
72 | Eric Schmidt | |
73 | .SH "SEE ALSO" | |
74 | net(\*s), netrm(\*s), netq(\*s), netlog(\*s), netcp(\*s), | |
75 | netlpr(\*s), netlogin(\*s), mail(\*o) | |
76 | .SH BUGS |