1 <!doctype html public
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
5 <title> Postfix manual - postqueue(
1)
</title>
7 POSTQUEUE(
1) POSTQUEUE(
1)
10 postqueue - Postfix queue control
13 <b>postqueue
</b> [
<b>-v
</b>] [
<b>-c
</b> <i>config
</i><b>_
</b><i>dir
</i>]
<b>-f
</b>
14 <b>postqueue
</b> [
<b>-v
</b>] [
<b>-c
</b> <i>config
</i><b>_
</b><i>dir
</i>]
<b>-i
</b> <i>queue
</i><b>_
</b><i>id
</i>
15 <b>postqueue
</b> [
<b>-v
</b>] [
<b>-c
</b> <i>config
</i><b>_
</b><i>dir
</i>]
<b>-p
</b>
16 <b>postqueue
</b> [
<b>-v
</b>] [
<b>-c
</b> <i>config
</i><b>_
</b><i>dir
</i>]
<b>-s
</b> <i>site
</i>
19 The
<a href=
"postqueue.1.html"><b>postqueue
</b>(
1)
</a> command implements the Postfix user
20 interface for queue management. It implements operations
21 that are traditionally available via the
<a href=
"sendmail.1.html"><b>sendmail
</b>(
1)
</a> com-
22 mand. See the
<a href=
"postsuper.1.html"><b>postsuper
</b>(
1)
</a> command for queue operations
23 that require super-user privileges such as deleting a mes-
24 sage from the queue or changing the status of a message.
26 The following options are recognized:
28 <b>-c
</b> <i>config
</i><b>_
</b><i>dir
</i>
29 The
<a href=
"postconf.5.html"><b>main.cf
</b></a> configuration file is in the named
30 directory instead of the default configuration
31 directory. See also the MAIL_CONFIG environment
34 <b>-f
</b> Flush the queue: attempt to deliver all queued
37 This option implements the traditional
"<b>sendmail</b>
38 <b>-q</b>" command, by contacting the Postfix
<a href=
"qmgr.8.html"><b>qmgr
</b>(
8)
</a> dae-
41 Warning: flushing undeliverable mail frequently
42 will result in poor delivery performance of all
45 <b>-i
</b> <i>queue
</i><b>_
</b><i>id
</i>
46 Schedule immediate delivery of deferred mail with
47 the specified queue ID.
49 This option implements the traditional
<b>sendmail -qI
</b>
50 command, by contacting the
<a href=
"flush.8.html"><b>flush
</b>(
8)
</a> server.
52 This feature is available with Postfix version
2.4
55 <b>-p
</b> Produce a traditional sendmail-style queue listing.
56 This option implements the traditional
<b>mailq
</b> com-
57 mand, by contacting the Postfix
<a href=
"showq.8.html"><b>showq
</b>(
8)
</a> daemon.
59 Each queue entry shows the queue file ID, message
60 size, arrival time, sender, and the recipients that
61 still need to be delivered. If mail could not be
62 delivered upon the last attempt, the reason for
63 failure is shown. This mode of operation is imple-
64 mented by executing the
<a href=
"postqueue.1.html"><b>postqueue
</b>(
1)
</a> command. The
65 queue ID string is followed by an optional status
68 <b>*
</b> The message is in the
<b>active
</b> queue, i.e. the
69 message is selected for delivery.
71 <b>!
</b> The message is in the
<b>hold
</b> queue, i.e. no
72 further delivery attempt will be made until
73 the mail is taken off hold.
76 Schedule immediate delivery of all mail that is
77 queued for the named
<i>site
</i>. A numerical site must be
78 specified as a valid
<a href=
"http://tools.ietf.org/html/rfc2821">RFC
2821</a> address literal
79 enclosed in [], just like in email addresses. The
80 site must be eligible for the
"fast flush" service.
81 See
<a href=
"flush.8.html"><b>flush
</b>(
8)
</a> for more information about the
"fast
84 This option implements the traditional
"<b>sendmail</b>
85 <b>-qR</b><i>site</i>" command, by contacting the Postfix
86 <a href=
"flush.8.html"><b>flush
</b>(
8)
</a> daemon.
88 <b>-v
</b> Enable verbose logging for debugging purposes. Mul-
89 tiple
<b>-v
</b> options make the software increasingly
90 verbose. As of Postfix
2.3, this option is avail-
91 able for the super-user only.
94 This program is designed to run with set-group ID privi-
95 leges, so that it can connect to Postfix daemon processes.
98 Problems are logged to
<b>syslogd
</b>(
8) and to the standard
103 Directory with the
<a href=
"postconf.5.html"><b>main.cf
</b></a> file. In order to avoid
104 exploitation of set-group ID privileges, a non-
105 standard directory is allowed only if:
107 <b>o
</b> The name is listed in the standard
<a href=
"postconf.5.html"><b>main.cf
</b></a>
108 file with the
<b><a href=
"postconf.5.html#alternate_config_directories">alternate_config_directories
</a></b>
109 configuration parameter.
111 <b>o
</b> The command is invoked by the super-user.
113 <b>CONFIGURATION PARAMETERS
</b>
114 The following
<a href=
"postconf.5.html"><b>main.cf
</b></a> parameters are especially relevant
115 to this program. The text below provides only a parameter
116 summary. See
<a href=
"postconf.5.html"><b>postconf
</b>(
5)
</a> for more details including exam-
119 <b><a href=
"postconf.5.html#alternate_config_directories">alternate_config_directories
</a> (empty)
</b>
120 A list of non-default Postfix configuration direc-
121 tories that may be specified with
"-c <a href="postconf
.5.html#config_directory
">config_direc</a>-
122 <a href="postconf
.5.html#config_directory
">tory</a>" on the command line, or via the MAIL_CONFIG
123 environment parameter.
125 <b><a href=
"postconf.5.html#config_directory">config_directory
</a> (see 'postconf -d' output)
</b>
126 The default location of the Postfix
<a href=
"postconf.5.html">main.cf
</a> and
127 <a href=
"master.5.html">master.cf
</a> configuration files.
129 <b><a href=
"postconf.5.html#command_directory">command_directory
</a> (see 'postconf -d' output)
</b>
130 The location of all postfix administrative com-
133 <b><a href=
"postconf.5.html#fast_flush_domains">fast_flush_domains
</a> ($
<a href=
"postconf.5.html#relay_domains">relay_domains
</a>)
</b>
134 Optional list of destinations that are eligible for
135 per-destination logfiles with mail that is queued
136 to those destinations.
138 <b><a href=
"postconf.5.html#import_environment">import_environment
</a> (see 'postconf -d' output)
</b>
139 The list of environment parameters that a Postfix
140 process will import from a non-Postfix parent
143 <b><a href=
"postconf.5.html#queue_directory">queue_directory
</a> (see 'postconf -d' output)
</b>
144 The location of the Postfix top-level queue direc-
147 <b><a href=
"postconf.5.html#syslog_facility">syslog_facility
</a> (mail)
</b>
148 The syslog facility of Postfix logging.
150 <b><a href=
"postconf.5.html#syslog_name">syslog_name
</a> (see 'postconf -d' output)
</b>
151 The mail system name that is prepended to the
152 process name in syslog records, so that
"smtpd"
153 becomes, for example,
"postfix/smtpd".
155 <b><a href=
"postconf.5.html#trigger_timeout">trigger_timeout
</a> (
10s)
</b>
156 The time limit for sending a trigger to a Postfix
157 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> dae-
160 Available in Postfix version
2.2 and later:
162 <b><a href=
"postconf.5.html#authorized_flush_users">authorized_flush_users
</a> (static:anyone)
</b>
163 List of users who are authorized to flush the
166 <b><a href=
"postconf.5.html#authorized_mailq_users">authorized_mailq_users
</a> (static:anyone)
</b>
167 List of users who are authorized to view the queue.
170 /var/spool/postfix, mail queue
173 <a href=
"qmgr.8.html">qmgr(
8)
</a>, queue manager
174 <a href=
"showq.8.html">showq(
8)
</a>, list mail queue
175 <a href=
"flush.8.html">flush(
8)
</a>, fast flush service
176 <a href=
"sendmail.1.html">sendmail(
1)
</a>, Sendmail-compatible user interface
177 <a href=
"postsuper.1.html">postsuper(
1)
</a>, privileged queue operations
180 <a href=
"ETRN_README.html">ETRN_README
</a>, Postfix ETRN howto
183 The Secure Mailer license must be distributed with this
187 The postqueue command was introduced with Postfix version
192 IBM T.J. Watson Research
194 Yorktown Heights, NY
10598, USA
197 </pre> </body> </html>