summaryrefslogtreecommitdiffstats
path: root/html/postdrop.1.html
blob: ce25bfbdb0a28952173a0f188a472070a124c1df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> Postfix manual - postdrop(1) </title>
</head> <body> <pre>
POSTDROP(1)                                                        POSTDROP(1)

<b>NAME</b>
       postdrop - Postfix mail posting utility

<b>SYNOPSIS</b>
       <b>postdrop</b> [<b>-rv</b>] [<b>-c</b> <i>config</i><b>_</b><i>dir</i>]

<b>DESCRIPTION</b>
       The  <a href="postdrop.1.html"><b>postdrop</b>(1)</a>  command  creates a file in the <b>maildrop</b> directory and
       copies its standard input to the file.

       Options:

       <b>-c</b> <i>config</i><b>_</b><i>dir</i>
              The <a href="postconf.5.html"><b>main.cf</b></a> configuration file is in the named directory instead
              of the default configuration directory. See also the MAIL_CONFIG
              environment setting below.

       <b>-r</b>     Use a Postfix-internal protocol for  reading  the  message  from
              standard input, and for reporting status information on standard
              output. This is currently the only supported method.

       <b>-v</b>     Enable verbose  logging  for  debugging  purposes.  Multiple  <b>-v</b>
              options  make  the  software increasingly verbose. As of Postfix
              2.3, this option is available for the super-user only.

<b>SECURITY</b>
       The command is designed to run with set-group ID privileges, so that it
       can write to the <b>maildrop</b> queue directory and so that it can connect to
       Postfix daemon processes.

<b>DIAGNOSTICS</b>
       Fatal errors: malformed input, I/O error, out of memory.  Problems  are
       logged  to  <b>syslogd</b>(8) or <a href="postlogd.8.html"><b>postlogd</b>(8)</a> and to the standard error stream.
       When the input is incomplete, or when the process receives a HUP,  INT,
       QUIT or TERM signal, the queue file is deleted.

<b>ENVIRONMENT</b>
       MAIL_CONFIG
              Directory  with the <a href="postconf.5.html"><b>main.cf</b></a> file. In order to avoid exploitation
              of set-group ID privileges, a non-standard directory is  allowed
              only if:

              <b>o</b>      The  name is listed in the standard <a href="postconf.5.html"><b>main.cf</b></a> file with the
                     <b><a href="postconf.5.html#alternate_config_directories">alternate_config_directories</a></b> configuration parameter.

              <b>o</b>      The command is invoked by the super-user.

<b>CONFIGURATION PARAMETERS</b>
       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant to  this  pro-
       gram.   The  text  below  provides  only a parameter summary. See <a href="postconf.5.html"><b>post-</b></a>
       <a href="postconf.5.html"><b>conf</b>(5)</a> for more details including examples.

       <b><a href="postconf.5.html#alternate_config_directories">alternate_config_directories</a> (empty)</b>
              A list of non-default Postfix configuration directories that may
              be  specified with "-c <a href="postconf.5.html#config_directory">config_directory</a>" on the command line (in
              the case of <a href="sendmail.1.html"><b>sendmail</b>(1)</a>, with  the  "-C"  option),  or  via  the
              MAIL_CONFIG environment parameter.

       <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
              The  default  location of the Postfix <a href="postconf.5.html">main.cf</a> and <a href="master.5.html">master.cf</a> con-
              figuration files.

       <b><a href="postconf.5.html#import_environment">import_environment</a> (see 'postconf -d' output)</b>
              The list of environment parameters  that  a  privileged  Postfix
              process  will  import  from  a  non-Postfix  parent  process, or
              name=value environment overrides.

       <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
              The location of the Postfix top-level queue directory.

       <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
              The syslog facility of Postfix logging.

       <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
              A prefix that  is  prepended  to  the  process  name  in  syslog
              records, so that, for example, "smtpd" becomes "prefix/smtpd".

       <b><a href="postconf.5.html#trigger_timeout">trigger_timeout</a> (10s)</b>
              The  time  limit  for sending a trigger to a Postfix daemon (for
              example, the <a href="pickup.8.html"><b>pickup</b>(8)</a> or <a href="qmgr.8.html"><b>qmgr</b>(8)</a> daemon).

       Available in Postfix version 2.2 and later:

       <b><a href="postconf.5.html#authorized_submit_users">authorized_submit_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
              List of users who are authorized to submit mail with  the  <a href="sendmail.1.html"><b>send-</b></a>
              <a href="sendmail.1.html"><b>mail</b>(1)</a> command (and with the privileged <a href="postdrop.1.html"><b>postdrop</b>(1)</a> helper com-
              mand).

       Available in Postfix version 3.6 and later:

       <b><a href="postconf.5.html#local_login_sender_maps">local_login_sender_maps</a> (<a href="DATABASE_README.html#types">static</a>:*)</b>
              A list of lookup tables that are  searched  by  the  UNIX  login
              name, and that return a list of allowed envelope sender patterns
              separated by space or comma.

       <b><a href="postconf.5.html#empty_address_local_login_sender_maps_lookup_key">empty_address_local_login_sender_maps_lookup_key</a> (</b>&lt;&gt;<b>)</b>
              The lookup key to be  used  in  <a href="postconf.5.html#local_login_sender_maps">local_login_sender_maps</a>  tables,
              instead of the null sender address.

       <b><a href="postconf.5.html#recipient_delimiter">recipient_delimiter</a> (empty)</b>
              The  set of characters that can separate an email address local-
              part, user name, or a .forward file name from its extension.

<b>FILES</b>
       /var/spool/postfix/<a href="QSHAPE_README.html#maildrop_queue">maildrop</a>, <a href="QSHAPE_README.html#maildrop_queue">maildrop queue</a>

<b>SEE ALSO</b>
       <a href="sendmail.1.html">sendmail(1)</a>, compatibility interface
       <a href="postconf.5.html">postconf(5)</a>, configuration parameters
       <a href="postlogd.8.html">postlogd(8)</a>, Postfix logging
       syslogd(8), system logging

<b>LICENSE</b>
       The Secure Mailer license must be distributed with this software.

<b>AUTHOR(S)</b>
       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA

       Wietse Venema
       Google, Inc.
       111 8th Avenue
       New York, NY 10011, USA

                                                                   POSTDROP(1)
</pre> </body> </html>