Commit | Line | Data |
---|---|---|
9404767b C |
1 | |
2 | ||
3 | ||
4 | MSGCHK(1) BSD Reference Manual MSGCHK(1) | |
5 | ||
6 | ||
7 | N\bNA\bAM\bME\bE | |
8 | msgchk - check for messages | |
9 | ||
10 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
11 | msgchk [-date] [-nodate] [-notify all/mail/nomail] | |
12 | [-nonotify all/mail/nomail] [-host host] [-user user] | |
13 | [-apop] [-noapop] [-rpop] [-norpop] [users ...] | |
14 | [-help] | |
15 | ||
16 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
17 | The _\bm_\bs_\bg_\bc_\bh_\bk program checks all known mail drops for mail | |
18 | waiting for you. For those drops which have mail for you, | |
19 | _\bm_\bs_\bg_\bc_\bh_\bk will indicate if it believes that you have seen the | |
20 | mail in question before. | |
21 | ||
22 | The `-notify type' switch indicates under what circum- | |
23 | stances _\bm_\bs_\bg_\bc_\bh_\bk should produce a message. The default is | |
24 | `-notify all' which says that _\bm_\bs_\bg_\bc_\bh_\bk should always report | |
25 | the status of the users maildrop. Other values for `type' | |
26 | include `mail' which says that _\bm_\bs_\bg_\bc_\bh_\bk should report the | |
27 | status of waiting mail; and, `nomail' which says that | |
28 | _\bm_\bs_\bg_\bc_\bh_\bk should report the status of empty maildrops. The | |
29 | `-nonotify type' switch has the inverted sense, so | |
30 | `-nonotify all' directs _\bm_\bs_\bg_\bc_\bh_\bk to never report the status | |
31 | of maildrops. This is useful if the user wishes to check | |
32 | _\bm_\bs_\bg_\bc_\bh_\bk's exit status. A non-zero exit status indicates | |
33 | that mail was n\bno\bot\bt waiting for at least one of the indi- | |
34 | cated users. | |
35 | ||
36 | If _\bm_\bs_\bg_\bc_\bh_\bk produces output, then the `-date' switch directs | |
37 | _\bm_\bs_\bg_\bc_\bh_\bk to print out the last date mail was read, if this | |
38 | can be determined. | |
39 | ||
40 | If the local host is configured as a POP client, or if the | |
41 | `-host host' switch is given, _\bm_\bs_\bg_\bc_\bh_\bk will query the POP | |
42 | service host as to the status of mail waiting. If the | |
43 | `-user user' switch is not given, then the current user- | |
44 | name is used. Normally, _\bm_\bs_\bg_\bc_\bh_\bk will prompt for a password | |
45 | to use. However, if the `-apop' switch is given, _\bm_\bs_\bg_\bc_\bh_\bk | |
46 | will generate authentication credentials to provide for | |
47 | origin authentication and replay protection, but which do | |
48 | not involve sending a password in the clear over the net- | |
49 | work. Otherwise, if the `-rpop' switch is given, then | |
50 | _\bm_\bs_\bg_\bc_\bh_\bk will try to use a "trusted" connection (ala the BSD | |
51 | r-commands). | |
52 | ||
53 | F\bFI\bIL\bLE\bES\bS | |
54 | $HOME/.mh_profile The user profile | |
55 | /usr/contrib/mh-6.8/lib/mtstailor tailor file | |
56 | /var/mail/$USER Location of mail drop | |
57 | ||
58 | ||
59 | ||
60 | ||
61 | [mh.6] MH.6.8 1 | |
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | MSGCHK(1) BSD Reference Manual MSGCHK(1) | |
71 | ||
72 | ||
73 | P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS | |
74 | None | |
75 | ||
76 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
77 | _\bP_\bo_\bs_\bt _\bO_\bf_\bf_\bi_\bc_\be _\bP_\br_\bo_\bt_\bo_\bc_\bo_\bl _\b- _\bv_\be_\br_\bs_\bi_\bo_\bn _\b3 (aka RFC-1081), | |
78 | inc(1) | |
79 | ||
80 | D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS | |
81 | `user' defaults to the current user | |
82 | `-date' | |
83 | `-notify all' | |
84 | `-rpop' | |
85 | ||
86 | C\bCO\bON\bNT\bTE\bEX\bXT\bT | |
87 | None | |
88 | ||
89 | ||
90 | ||
91 | ||
92 | ||
93 | ||
94 | ||
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 | ||
103 | ||
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | [mh.6] MH.6.8 2 | |
128 | ||
129 | ||
130 | ||
131 | ||
132 |