xref: /386bsd/usr/share/man/cat8/mail.local.0 (revision a2142627)
1MAIL.LOCAL(8)           386BSD System Manager's Manual           MAIL.LOCAL(8)
2
3NNAAMMEE
4     mmaaiill..llooccaall - store mail in a mailbox
5
6SSYYNNOOPPSSIISS
7     mmaaiill..llooccaall [--ff _f_r_o_m] _u_s_e_r ...
8
9DDEESSCCRRIIPPTTIIOONN
10     MMaaiill..llooccaall reads the standard input up to an end-of-file and appends it
11     to each _u_s_e_r '_s _m_a_i_l file.  The _u_s_e_r must be a valid user name.
12
13     The options are as follows:
14
15     --ff _f_r_o_m  Specify the sender's name.
16
17     Individual mail messages in the mailbox are delimited by an empty line
18     followed by a line beginning with the string ``From ''.  A line
19     containing the string ``From '', the sender's name and a time stamp is
20     prepended to each delivered mail message.  A blank line is appended to
21     each message.  A greater-than character (``>'') is prepended to any line
22     in the message which could be mistaken for a ``From '' delimiter line.
23
24     The mail files are exclusively locked with flock(2) while mail is
25     appended.
26
27     If the ``biff'' service is returned by getservbyname(3),  the biff server
28     is notified of delivered mail.
29
30     The mmaaiill..llooccaall utility exits 0 on success, and >0 if an error occurs.
31
32EENNVVIIRROONNMMEENNTT
33     TZ      Used to set the appropriate time zone on the timestamp.
34
35FFIILLEESS
36     /tmp/local.XXXXXX  temporary files
37     /var/mail/user     user's mailbox directory
38
39SSEEEE AALLSSOO
40     mail(1),  xsend(1),  flock(2),  getservbyname(3),  comsat(8),
41     sendmail(8)
42
43HHIISSTTOORRYY
44     A superset of mmaaiill..llooccaall (handling mailbox reading as well as mail
45     delivery) appeared in Version 7 AT&T UNIX.  as the program mmaaiill.
46
47BSD Experimental                April 27, 1991                               1
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67