1 .\" Copyright (c) 1998-2001, 2003 Sendmail, Inc. and its suppliers.
2 .\" All rights reserved.
3 .\" Copyright (c) 1990, 1993
4 .\" The Regents of the University of California. All rights reserved.
6 .\" By using this file, you agree to the terms and conditions set
7 .\" forth in the LICENSE file which can be found at the top level of
8 .\" the sendmail distribution.
11 .\" $Id: mail.local.8,v 8.25 2003/10/20 20:26:51 ca Exp $
13 .TH MAIL.LOCAL 8 "$Date: 2003/10/20 20:26:51 $"
16 \- store mail in a mailbox
19 .RB [ \-7 "] [" \-B "] [" \-b "] [" \-d "] [" \-D
21 .RB [ \-l "] [" \-s "] [" \-f
29 reads the standard input up to an end-of-file and appends it to each
34 must be a valid user name.
36 The options are as follows:
39 Do not advertise 8BITMIME support in LMTP mode.
42 Turn off the attempts to notify the
47 Return a permanent error instead of a temporary error
48 if a mailbox exceeds quota.
51 Specify this is a delivery (for backward compatibility).
52 This option has no effect.
55 Specify the name of the mailbox database
56 which is used to look up local recipient names.
57 This option defaults to "pw", which means use getpwnam().
60 Specify the sender's name.
68 call that forces the mailbox to be committed to disk before returning a
73 Specify the sender's name (for backward compatibility).
77 Store incoming mail in \fIfilename\fR in the user's home directory instead
78 of a system mail spool directory.
80 The next options are only available if
82 has been compiled with -DHASHSPOOL.
84 .BI \-H " hashtypehashdepth"
85 Select hashed mail directories.
90 for MD5 (requires compilation with -DHASHSPOOLMD5).
93 selects user name hashing with a hash depth of 2.
94 Note: there must be no space between the hash type and the depth.
97 Specify an alternate mail spool path.
100 Specify that the domain part of recipient addresses in LMTP mode
101 should not be stripped.
103 Individual mail messages in the mailbox are delimited by an empty
104 line followed by a line beginning with the string ``From ''.
105 A line containing the string ``From '', the sender's name and a time stamp
106 is prepended to each delivered mail message.
107 A blank line is appended to each message.
108 A greater-than character (``>'') is prepended to any line in the message
109 which could be mistaken for a ``From '' delimiter line
111 a line beginning with the five characters
112 ``From '' following a blank line).
114 The mail files are exclusively locked with
116 while mail is appended,
119 file also is created while the mailbox is locked
120 for compatibility with older MUAs.
122 If the ``biff'' service is returned by
124 the biff server is notified of delivered mail.
128 utility exits 0 on success, and >0 if an error occurs.
131 Used to set the appropriate time zone on the timestamp.
139 user's default mailbox directory
142 lock file for a user's default mailbox
152 escapes only "^From " lines that follow an empty line.
153 If all lines starting with "From " should be escaped,
154 use the 'E' flag for the local mailer in the
159 (handling mailbox reading as well as mail delivery)