DELIVERMAIL(8) UNIX System Manager's Manual DELIVERMAIL(8) NNAAMMEE ddeelliivveerrmmaaiill - send or receive mail among users SSYYNNOOPPSSIISS ddeelliivveerrmmaaiill [++] [--ii] [_p_e_r_s_o_n] [...] ddeelliivveerrmmaaiill [++] [--ii] --ff _f_i_l_e DDEESSCCRRIIPPTTIIOONN Note: This is the old version 7 UNIX system mail program. The default mmaaiill command is described in Mail(1). MMaaiill with no argument prints a user's mail, message-by-message, in last- in, first-out order; the optional argument ++ displays the mail messages in first-in, first-out order. For each message, it reads a line from the standard input to direct disposition of the message. newline Go on to next message. dd Delete message and go on to the next. pp Print message again. -- Go back to previous message. ss[_f_i_l_e]... Save the message in the named _f_i_l_e_s (`mbox' default). ww[_f_i_l_e]... Save the message, without a header, in the named _f_i_l_e_s, _m_b_o_x is the default. mm[_p_e_r_s_o_n]... Mail the message to the named _p_e_r_s_o_n_s (yourself is default). EOT (control-D) Put unexamined mail back in the mailbox and stop. qq Same as EOT. !!_c_o_m_m_a_n_d Escape to the Shell to do _c_o_m_m_a_n_d. ** Print a command summary. An interrupt normally terminates the _m_a_i_l command; the mail file is un- changed. The optional argument --ii tells _m_a_i_l to continue after inter- rupts. When _p_e_r_s_o_n_s are named, _m_a_i_l takes the standard input up to an end-of- file (or a line with just `.') and adds it to each _p_e_r_s_o_n's _m_a_i_l file. The message is preceded by the sender's name and a postmark. Lines that look like postmarks are prepended with `>'. A _p_e_r_s_o_n is usually a user name recognized by login(1). To denote a recipient on a remote system, prefix _p_e_r_s_o_n by the system name and exclamation mark (see uucp(1)). The --ff option causes the named file, for example, _m_b_o_x, to be printed as if it were the mail file. When a user logs in he is informed of the presence of mail. EENNVVIIRROONNMMEENNTT HOME The HOME variable is used by ddeelliivveerrmmaaiill to find the file _m_b_o_x. HOSTALIASES Used to find host aliases. NAME DDeelliivveerrmmaaiill extracts the users full name from the NAME vari- able. TZ Used to set the appropriate time zone on the postmark. FFIILLEESS /_e_t_c/_p_a_s_s_w_d to identify sender and locate persons /_v_a_r/_s_p_o_o_l/_m_a_i_l/* incoming mail for user * _m_b_o_x saved mail /_t_m_p/_m_a* temp file _d_e_a_d._l_e_t_t_e_r unmailable text SSEEEE AALLSSOO Mail(1), write(1), uucp(1), uux(1), xsend(1), sendmail(8) HHIISSTTOORRYY DDeelliivveerrmmaaiill appeared in Version 7 AT&T Unix as the program mmaaiill.. BBUUGGSS Race conditions sometimes result in a failure to remove a lock file. Normally anybody can read your mail, unless it is sent by xsend(1). An installation can overcome this by making mmaaiill a set-user-id command that owns the mail directory.