msgchk man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]



MSGCHK(1)						MSGCHK(1)

NAME
       msgchk - check for messages

SYNOPSIS
       msgchk [-date] [-nodate] [-notify all/mail/nomail]
	    [-nonotify all/mail/nomail]
	    [-host hostname] [-user username] [-kpop]
	    [users ...]	 [-version] [-help]

DESCRIPTION
       The  msgchk  program  checks all known mail drops for mail
       waiting for you.	 For those drops which have mail for you,
       msgchk will indicate if it believes that you have seen the
       mail in question before.

       The `-notify type' switch  indicates  under  what  circum-
       stances	msgchk	should produce a message.  The default is
       `-notify all' which says that msgchk should always  report
       the status of the users maildrop.  Other values for `type'
       include `mail' which says that msgchk  should  report  the
       status  of  waiting  mail;  and,	 `nomail' which says that
       msgchk should report the status of empty	 maildrops.   The
       `-nonotify type'	  switch   has	the  inverted  sense,  so
       `-nonotify all' directs msgchk to never report the  status
       of  maildrops.  This is useful if the user wishes to check
       msgchk's exit status.  A non-zero  exit	status	indicates
       that  mail  was	not waiting for at least one of the indi-
       cated users.

       If msgchk produces output, then the `-date' switch directs
       msgchk  to  print out the last date mail was read, if this
       can be determined.

   Using POP
       msgchk will normally check all the local mail  drops,  but
       if  the	option "pophost:" is set in the mts configuration
       file "mts.conf", or  if	the  `-host hostname'  switch  is
       given,  msgchk  will query this POP service host as to the
       status of mail waiting.

       The default is for msgchk to assume that your account name
       on  the	POP  server is the same as your current username.
       To specify a different username, use the	 `-user username'
       switch.

       When  using  POP, you will normally need to type the pass-
       word for your account on	 the  POP  server,  in	order  to
       retrieve	 your  messages.  It is possible to automate this
       process by creating a ".netrc" file containing your  login
       account	information  for  this	POP server.  For each POP
       server, this file should have  a	 line  of  the	following
       form.  Replace the words mypopserver, mylogin, and mypass-
       word with your own account information.

[nmh-1.0.4]		      MH.6.8				1

MSGCHK(1)						MSGCHK(1)

       machine mypopserver login mylogin password mypassword

       This ".netrc" file should be owned and  readable	 only  by
       you.

       For  debugging  purposes, there is also a switch `-snoop',
       which will allow you to watch  the  POP	transaction  take
       place between you and the POP server.

       If  nmh	has been compiled with KPOP #defined, the `-kpop'
       switch will allow msgchk to use Kerberized POP rather than
       standard	 POP3  on  a given invocation.	If POPSERVICE was
       also #defined to	 "kpop",  msgchk  will	be  hardwired  to
       always use KPOP.

FILES
       $HOME/.mh_profile		    The user profile
       /usr/contrib/mh/etc/mts.conf	    nmh mts configuration file
       /var/mail/$USER			    Location of mail drop

PROFILE COMPONENTS
       None

SEE ALSO
       inc(1)

DEFAULTS
       `user' defaults to the current user
       `-date'
       `-notify all'

CONTEXT
       None

[nmh-1.0.4]		      MH.6.8				2

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net