source: trunk/third/nmh/man/msgchk.man @ 12455

Revision 12455, 3.0 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: msgchk.man,v 1.1.1.1 1999-02-07 18:14:21 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH MSGCHK %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10msgchk \- check for messages
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14msgchk
15\%[\-date] \%[\-nodate]
16\%[\-notify\ all/mail/nomail]
17.br
18\%[\-nonotify\ all/mail/nomail]
19.br
20%nmhbeginpop%
21\%[\-host\ hostname]
22\%[\-user\ username]
23.br
24%nmhendpop%
25\%[users\ ...]
26\%[\-version]
27\%[\-help]
28.in -.5i
29.SH DESCRIPTION
30The \fImsgchk\fR program checks all known mail drops for mail waiting
31for you.  For those drops which have mail for you, \fImsgchk\fR will
32indicate if it believes that you have seen the mail in question before.
33
34The `\-notify\ type' switch indicates under what circumstances
35\fImsgchk\fR should produce a message.  The default is `\-notify\ all'
36which says that \fImsgchk\fR should always report the status of the
37users maildrop.  Other values for `type' include `mail' which says that
38\fImsgchk\fR should report the status of waiting mail; and, `nomail'
39which says that \fImsgchk\fR should report the status of empty maildrops.
40The `\-nonotify\ type' switch has the inverted sense, so
41`\-nonotify\ all' directs \fImsgchk\fR to never report the status of
42maildrops.  This is useful if the user wishes to check \fImsgchk\fR's
43exit status.  A non\-zero exit status indicates that mail was \fBnot\fR
44waiting for at least one of the indicated users.
45
46If \fImsgchk\fR produces output, then the `\-date' switch directs
47\fImsgchk\fR to print out the last date mail was read, if this can
48be determined.
49%nmhbeginpop%
50 
51.Uh "Using POP"
52\fImsgchk\fR will normally check all the local mail drops, but if
53the option \*(lqpophost:\*(rq is set in the mts configuration file
54\*(lqmts.conf\*(rq, or if the `\-host\ hostname' switch is given,
55\fImsgchk\fR will query this POP service host as to the status of
56mail waiting.
57
58The default is for \fImsgchk\fR to assume that your account name
59on the POP server is the same as your current username.  To specify
60a different username, use the `\-user\ username' switch.
61
62When using POP, you will normally need to type the password for
63your account on the POP server, in order to retrieve your messages.
64It is possible to automate this process by creating a \*(lq.netrc\*(rq
65file containing your login account information for this POP server.
66For each POP server, this file should have a line of the following
67form.  Replace the words mypopserver, mylogin, and mypassword with
68your own account information.
69
70machine mypopserver login mylogin password mypassword
71
72This \*(lq.netrc\*(rq file should be owned and readable only by
73you.
74
75For debugging purposes, there is also a switch `\-snoop', which will
76allow you to watch the POP transaction take place between you and the
77POP server.
78%nmhendpop%
79.Fi
80^$HOME/\&.mh\(ruprofile~^The user profile
81^%etcdir%/mts.conf~^nmh mts configuration file
82^%mailspool%/$USER~^Location of mail drop
83.Pr
84None
85.Sa
86inc(1)
87.De
88`user' defaults to the current user
89.Ds
90`\-date'
91.Ds
92`\-notify\ all'
93.Co
94None
95.En
Note: See TracBrowser for help on using the repository browser.