Commit | Line | Data |
---|---|---|
ff262511 KB |
1 | .\" Copyright (c) 1980 The Regents of the University of California. |
2 | .\" All rights reserved. | |
e2a9a8d6 | 3 | .\" |
ff262511 KB |
4 | .\" %sccs.include.redist.roff% |
5 | .\" | |
6 | .\" @(#)mail6.nr 6.3 (Berkeley) %G% | |
e2a9a8d6 | 7 | .\" |
ce60a2e6 KD |
8 | .bp |
9 | .sh 1 "Command line options" | |
10 | .pp | |
11 | This section describes command line options for | |
12 | .i Mail | |
13 | and what they are used for. | |
14 | .ip \-N | |
15 | Suppress the initial printing of headers. | |
16 | .ip \-d | |
17 | Turn on debugging information. Not of general interest. | |
8c80966d | 18 | .ip "\-f file\ \ " |
ce60a2e6 KD |
19 | Show the messages in |
20 | .i file | |
21 | instead of your system mailbox. If | |
22 | .i file | |
23 | is omitted, | |
24 | .i Mail | |
25 | reads | |
26 | .i mbox | |
27 | in your home directory. | |
28 | .ip \-i | |
29 | Ignore tty interrupt signals. Useful on noisy phone lines, which | |
30 | generate spurious RUBOUT or DELETE characters. It's usually | |
31 | more effective to change your interrupt character to control\-c, | |
32 | for which see the | |
33 | .i stty | |
34 | shell command. | |
35 | .ip \-n | |
36 | Inhibit reading of /usr/lib/Mail.rc. Not generally useful, since | |
37 | /usr/lib/Mail.rc is usually empty. | |
38 | .ip "\-s string" | |
39 | Used for sending mail. | |
40 | .i String | |
41 | is used as the subject of the message being composed. If | |
42 | .i string | |
43 | contains blanks, you must surround it with quote marks. | |
44 | .ip "\-u name" | |
45 | Read | |
46 | .i names's | |
47 | mail instead of your own. Unwitting others often neglect to protect | |
48 | their mailboxes, but discretion is advised. Essentially, | |
49 | .b "\-u user" | |
50 | is a shorthand way of doing | |
8c80966d | 51 | .b "\-f /usr/spool/mail/user". |
ce60a2e6 KD |
52 | .ip "\-v" |
53 | Use the | |
54 | .b \-v | |
55 | flag when invoking sendmail. This feature may also be enabled | |
56 | by setting the the option "verbose". | |
57 | .pp | |
58 | The following command line flags are also recognized, but are | |
59 | intended for use by programs invoking | |
60 | .i Mail | |
61 | and not for people. | |
62 | .ip "\-T file" | |
63 | Arrange to print on | |
64 | .i file | |
65 | the contents of the | |
66 | .i article-id | |
67 | fields of all messages that were either read or deleted. | |
68 | .b \-T | |
69 | is for the | |
70 | .i readnews | |
71 | program and should NOT be used for reading your mail. | |
72 | .ip "\-h number" | |
73 | Pass on hop count information. | |
74 | .i Mail | |
75 | will take the number, increment it, and pass it with | |
76 | .b \-h | |
77 | to the mail delivery system. | |
78 | .b \-h | |
79 | only has effect when sending mail and is used for network mail | |
80 | forwarding. | |
81 | .ip "\-r name" | |
82 | Used for network mail forwarding: interpret | |
83 | .i name | |
84 | as the sender of the message. The | |
85 | .i name | |
86 | and | |
87 | .b \-r | |
88 | are simply sent along to the mail delivery system. Also, | |
89 | .i Mail | |
90 | will wait for the message to be sent and return the exit status. | |
91 | Also restricts formatting of message. | |
92 | .pp | |
93 | Note that | |
94 | .b \-h | |
95 | and | |
96 | .b \-r , | |
97 | which are for network mail forwarding, are not used in practice | |
98 | since mail forwarding is now handled separately. They may | |
99 | disappear soon. |