📄 mhook.man
字号:
MHOOK(1) BSD Reference Manual MHOOK(1)NNAAMMEE mhook, rcvdist, rcvpack, rcvtty - MH receive-mail hooksSSYYNNOOPPSSIISS /usr/contrib/mh-6.8/lib/rcvdist [-form formfile] [switches for _p_o_s_t_p_r_o_c] address ... [-help] /usr/contrib/mh-6.8/lib/rcvpack file [-help] /usr/contrib/mh-6.8/lib/rcvtty [command] [-form formatfile] [-format string] [-bell] [-nobell] [-newline] [-nonewline] [-biff] [-help]DDEESSCCRRIIPPTTIIOONN A receive-mail hook is a program that is run whenever you receive a mail message. You do NNOOTT invoke the hook your- self, rather the hook is invoked on your behalf by your system's Message Transport Agent. See _s_l_o_c_a_l (1) for details on how to activate receive-mail hooks on your sys- tem. Four programs are currently available as part of _M_H, _r_c_v_d_i_s_t (redistribute incoming messages to additional recipients), _r_c_v_p_a_c_k (save incoming messages in a _p_a_c_k_f'd file), and _r_c_v_t_t_y (notify user of incoming messages). The fourth program, _r_c_v_s_t_o_r_e (1) is described separately. They all reside in the _/_u_s_r_/_c_o_n_t_r_i_b_/_m_h_-_6_._8_/_l_i_b_/ directory. The _r_c_v_d_i_s_t program will resend a copy of the message to all of the addresses listed on its command line. It uses the format string facility described in _m_h_-_f_o_r_m_a_t (5). The _r_c_v_p_a_c_k program will append a copy of the message to the file listed on its command line. Its use is obsoleted by the "file" action of _s_l_o_c_a_l. The _r_c_v_t_t_y program executes the named file with the mes- sage as its standard input, and writes the resulting out- put on your terminal. If no file is specified, or is bogus, etc., then _r_c_v_t_t_y will instead write a one-line scan listing. Either the `-form formatfile' or `-format string' option may be used to override the default output format (see _m_h_-_f_o_r_m_a_t (5)). A newline is output before the message output, and the terminal bell is rung after the output. The `-nonewline' and `-nobell' options will inhibit these functions. In addition to the standard _m_h_-_f_o_r_m_a_t (5) escapes, _r_c_v_t_t_y also recognizes the following additional _c_o_m_p_o_n_e_n_t escapes:[mh.6] MH.6.8 1MHOOK(1) BSD Reference Manual MHOOK(1) _E_s_c_a_p_e _R_e_t_u_r_n_s _D_e_s_c_r_i_p_t_i_o_n body string the (compressed) first part of the body dtimenow date the current date folder string the name of the current folder Normally, _r_c_v_t_t_y obeys write permission as granted by _m_e_s_g (1). With the `-biff' option, _r_c_v_t_t_y will obey the notification status set by _b_i_f_f (1) instead. If the ter- minal access daemon (TTYD) is available on your system, then _r_c_v_t_t_y will give its output to the daemon for output instead of writing on the user's terminal.FFIILLEESS /usr/contrib/mh-6.8/lib/mtstailor tailor file $HOME/.maildelivery The file controlling local delivery /usr/contrib/mh-6.8/lib/maildelivery Rather than the standard fileSSEEEE AALLSSOO rcvstore (1), mh-format(5), slocal(1)BBUUGGSS Only two return codes are meaningful, others should be.[mh.6] MH.6.8 2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -