1 .\" Copyright (c) 1998-2001, 2003 Proofpoint, 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.26 2013-11-22 20:51:51 ca Exp $
13 .TH MAIL.LOCAL 8 "$Date: 2013-11-22 20:51: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 ``biff'' service.
45 Return a permanent error instead of a temporary error
46 if a mailbox exceeds quota.
49 Specify this is a delivery (for backward compatibility).
50 This option has no effect.
53 Specify the name of the mailbox database
54 which is used to look up local recipient names.
55 This option defaults to "pw", which means use getpwnam().
58 Specify the sender's name.
64 Turn off the fsync(2) call that forces the mailbox to be committed
65 to disk before returning a "success" status.
68 Specify the sender's name (for backward compatibility).
72 Store incoming mail in \fIfilename\fR in the user's home directory instead
73 of a system mail spool directory.
75 The next options are only available if
77 has been compiled with -DHASHSPOOL.
79 .BI \-H " hashtypehashdepth"
80 Select hashed mail directories.
85 for MD5 (requires compilation with -DHASHSPOOLMD5).
88 selects user name hashing with a hash depth of 2.
89 Note: there must be no space between the hash type and the depth.
92 Specify an alternate mail spool path.
95 Specify that the domain part of recipient addresses in LMTP mode
96 should not be stripped.
98 Individual mail messages in the mailbox are delimited by an empty
99 line followed by a line beginning with the string ``From ''.
100 A line containing the string ``From '', the sender's name and a time stamp
101 is prepended to each delivered mail message.
102 A blank line is appended to each message.
103 A greater-than character (``>'') is prepended to any line in the message
104 which could be mistaken for a ``From '' delimiter line
106 a line beginning with the five characters
107 ``From '' following a blank line).
109 The mail files are exclusively locked with
111 while mail is appended,
114 file also is created while the mailbox is locked
115 for compatibility with older MUAs.
117 If the ``biff'' service is returned by
119 the biff server is notified of delivered mail.
123 utility exits 0 on success, and >0 if an error occurs.
126 Used to set the appropriate time zone on the timestamp.
134 user's default mailbox directory
137 lock file for a user's default mailbox
147 escapes only "^From " lines that follow an empty line.
148 If all lines starting with "From " should be escaped,
149 use the 'E' flag for the local mailer in the
154 (handling mailbox reading as well as mail delivery)