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 "] [" \-d "] [" \-D
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 Return a permanent error instead of a temporary error
43 if a mailbox exceeds quota.
46 Specify this is a delivery (for backward compatibility).
47 This option has no effect.
50 Specify the name of the mailbox database
51 which is used to look up local recipient names.
52 This option defaults to "pw", which means use getpwnam().
55 Specify the sender's name.
61 Specify the sender's name (for backward compatibility).
65 Store incoming mail in \fIfilename\fR in the user's home directory instead
66 of a system mail spool directory.
68 The next options are only available if
70 has been compiled with -DHASHSPOOL.
72 .BI \-H " hashtypehashdepth"
73 Select hashed mail directories.
78 for MD5 (requires compilation with -DHASHSPOOLMD5).
81 selects user name hashing with a hash depth of 2.
82 Note: there must be no space between the hash type and the depth.
85 Specify an alternate mail spool path.
88 Specify that the domain part of recipient addresses in LMTP mode
89 should not be stripped.
91 Individual mail messages in the mailbox are delimited by an empty
92 line followed by a line beginning with the string ``From ''.
93 A line containing the string ``From '', the sender's name and a time stamp
94 is prepended to each delivered mail message.
95 A blank line is appended to each message.
96 A greater-than character (``>'') is prepended to any line in the message
97 which could be mistaken for a ``From '' delimiter line
99 a line beginning with the five characters
100 ``From '' following a blank line).
102 The mail files are exclusively locked with
104 while mail is appended,
107 file also is created while the mailbox is locked
108 for compatibility with older MUAs.
110 If the ``biff'' service is returned by
112 the biff server is notified of delivered mail.
116 utility exits 0 on success, and >0 if an error occurs.
119 Used to set the appropriate time zone on the timestamp.
127 user's default mailbox directory
130 lock file for a user's default mailbox
141 escapes only "^From " lines that follow an empty line.
142 If all lines starting with "From " should be escaped,
143 use the 'E' flag for the local mailer in the
148 (handling mailbox reading as well as mail delivery)