📄 msgchk.man
字号:
MSGCHK(1) BSD Reference Manual MSGCHK(1)NNAAMMEE msgchk - check for messagesSSYYNNOOPPSSIISS msgchk [-date] [-nodate] [-notify all/mail/nomail] [-nonotify all/mail/nomail] [-host host] [-user user] [-apop] [-noapop] [-rpop] [-norpop] [users ...] [-help]DDEESSCCRRIIPPTTIIOONN The _m_s_g_c_h_k program checks all known mail drops for mail waiting for you. For those drops which have mail for you, _m_s_g_c_h_k will indicate if it believes that you have seen the mail in question before. The `-notify type' switch indicates under what circum- stances _m_s_g_c_h_k should produce a message. The default is `-notify all' which says that _m_s_g_c_h_k should always report the status of the users maildrop. Other values for `type' include `mail' which says that _m_s_g_c_h_k should report the status of waiting mail; and, `nomail' which says that _m_s_g_c_h_k should report the status of empty maildrops. The `-nonotify type' switch has the inverted sense, so `-nonotify all' directs _m_s_g_c_h_k to never report the status of maildrops. This is useful if the user wishes to check _m_s_g_c_h_k's exit status. A non-zero exit status indicates that mail was nnoott waiting for at least one of the indi- cated users. If _m_s_g_c_h_k produces output, then the `-date' switch directs _m_s_g_c_h_k to print out the last date mail was read, if this can be determined. If the local host is configured as a POP client, or if the `-host host' switch is given, _m_s_g_c_h_k will query the POP service host as to the status of mail waiting. If the `-user user' switch is not given, then the current user- name is used. Normally, _m_s_g_c_h_k will prompt for a password to use. However, if the `-apop' switch is given, _m_s_g_c_h_k will generate authentication credentials to provide for origin authentication and replay protection, but which do not involve sending a password in the clear over the net- work. Otherwise, if the `-rpop' switch is given, then _m_s_g_c_h_k will try to use a "trusted" connection (ala the BSD r-commands).FFIILLEESS $HOME/.mh_profile The user profile /usr/contrib/mh-6.8/lib/mtstailor tailor file /var/mail/$USER Location of mail drop[mh.6] MH.6.8 1MSGCHK(1) BSD Reference Manual MSGCHK(1)PPRROOFFIILLEE CCOOMMPPOONNEENNTTSS NoneSSEEEE AALLSSOO _P_o_s_t _O_f_f_i_c_e _P_r_o_t_o_c_o_l _- _v_e_r_s_i_o_n _3 (aka RFC-1081), inc(1)DDEEFFAAUULLTTSS `user' defaults to the current user `-date' `-notify all' `-rpop'CCOONNTTEEXXTT None[mh.6] MH.6.8 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -