POST(8) UNIX Programmer's Manual POST(8) NAME post - deliver a message SYNOPSIS /usr/misc/mh/lib/post [-alias aliasfile] [-filter filterfile] [-nofilter] [-format] [-noformat] [-msgid] [-nomsgid] [-verbose] [-noverbose] [-watch] [-nowatch] [-width columns] file [-help] 9 _P_o_s_t is the program called by _s_e_n_d (1) to deliver the mes- sage in _f_i_l_e to local and remote users. In fact, all of the functions attributed to _s_e_n_d on its manual page are per- formed by _p_o_s_t, with _s_e_n_d acting as a relatively simple preprocessor. Thus, it is _p_o_s_t which parses the various header fields, appends From: and Date: lines, and interacts with the _S_e_n_d_M_a_i_l transport system. _P_o_s_t will not normally be called directly by the user. _P_o_s_t searches the "To:", "cc:", "Bcc:", "Fcc:", and "Resent-xxx:" header lines of the specified message for des- tination addresses, checks these addresses for validity, and formats them so as to conform to ARPAnet Internet Message Format protocol, unless the `-noformat' flag is set. This will normally cause "@_l_o_c_a_l-_s_i_t_e" to be appended to each local destination address, as well as any local return addresses. The `-width columns' switch can be used to indi- cate the preferred length of the header components that con- tain addresses. If a "Bcc:" field is encountered, its addresses will be used for delivery, and the "Bcc:" field will be removed from the message sent to sighted recipients. The blind recipients will receive an entirely new message with a minimal set of headers. Included in the body of the message will be a copy of the message sent to the sighted recipients. If `-filter filterfile' is specified, then this copy is fil- tered (re-formatted) prior to being sent to the blind reci- pients. The `-alias aliasfile' switch can be used to specify a file that post should take aliases from. More than one file can be specified, each being preceded with `-alias'. In any event, the primary alias file is read first. The `-msgid' switch indicates that a "Message-ID:" or "Resent-Message-ID:" field should be added to the header. The `-verbose' switch indicates that the user should be informed of each step of the posting/filing process. The `-watch' switch indicates that the user would like to watch the transport system's handling of the message (e.g., local and "fast" delivery). Printed 1/10/87 MH 1 9 POST(8) UNIX Programmer's Manual POST(8) _P_o_s_t consults the envariable $SIGNATURE to determine the sender's personal name in constructing the "From:" line of the message. FILES /usr/misc/mh/lib/mtstailor tailor file /usr/misc/mh/refile Program to process Fcc:s /usr/misc/mh/lib/mhl Program to process Bcc:s /usr/misc/mh/lib/MailAliases Primary alias file PROFILE COMPONENTS _p_o_s_t does NOT consult the user's .mh_profile SEE ALSO _S_t_a_n_d_a_r_d _f_o_r _t_h_e _F_o_r_m_a_t _o_f _A_R_P_A _I_n_t_e_r_n_e_t _T_e_x_t _M_e_s_s_a_g_e_s (aka RFC-822), mhmail(1), send(1), mh-mail(5), mh-alias(5) DEFAULTS `-alias /usr/misc/mh/lib/MailAliases' `-format' `-nomsgid' `-noverbose' `-width 72' `-nofilter' CONTEXT None BUGS "Reply-To:" fields are allowed to have groups in them according to the 822 specification, but _p_o_s_t won't let you use them. Printed 1/10/87 MH 2