2
* ========================================================================
3
* Copyright 1988-2006 University of Washington
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
9
* http://www.apache.org/licenses/LICENSE-2.0
12
* ========================================================================
14
.TH DMAIL 1 "August 30, 2006"
16
dmail \- procmail Mail Delivery Module
20
.I [\-D] [\-f from_name] [-s] [user][+folder]
23
delivers mail to a user's INBOX or a designated folder.
25
may be configured as a drop-in replacement for
28
for use with a mail delivery filter such as
31
Because of security considerations (see below)
33
is not intended to be used for direct delivery by the mailer daemon;
35
is the preferred tool for this purpose. If
37
is used for mailer daemon delivery, the mailer daemon must invoke
41
process' user id set to the recipient's user id.
45
exits, it returns exit status values to enable
47
to determine whether a message was delivered successfully or had a
48
temporary (requeue for later delivery) or permanent (return to sender)
53
name is present, it must be the same as the logged-in user name.
57
extension is included in the user argument (or appears by itself if there
60
will attempt to deliver to the designated folder. If the folder does not
61
exist or the extension is not included, the message is delivered to the
63
If delivery is to INBOX and no INBOX currently exists,
65
will create a new INBOX.
67
recognizes the format of an existing INBOX or folder, and appends the new
68
message in that format.
70
The \fB-D\fR flag specifies debugging; this enables additional message
73
The \fB-f\fR or \fB-r\fR flag is used to specify a Return-Path. The header
75
Return-Path: <\fIfrom_name\fR>
77
is prepended to the message before delivery.
81
flag specifies that the message will be flagged as being "seen".
83
Absolute pathnames and
85
specifications are not permitted in
88
.SH SECURITY CONSIDERATIONS
93
to deliver to IMAP4 namespace names via
95
extensions. This means that it is possible to deliver to
99
However, this can also include such namespaces as #shared, #public,
100
and #ftp. In most cases, it is undesirable to allow anybody sending
101
mail to the user to deliver to these namespaces. Consequently, there
102
needs to be a rule in place in the configuration of either
106
to prevent such abuse.
108
Mark Crispin, MRC@CAC.Washington.EDU