11
\fBpostqueue\fR [\fB-c \fIconfig_dir\fR] \fB-f\fR
13
\fBpostqueue\fR [\fB-c \fIconfig_dir\fR] \fB-p\fR
15
\fBpostqueue\fR [\fB-c \fIconfig_dir\fR] \fB-s \fIsite\fR
19
The \fBpostqueue\fR program implements the Postfix user interface
20
for queue management. It implements operations that are
21
traditionally available via the \fBsendmail\fR(1) command.
22
See the \fBpostsuper\fR(1) command for queue operations
23
that require super-user privileges such as deleting a message
24
from the queue or changing the status of a message.
26
The following options are recognized:
27
.IP "\fB-c \fIconfig_dir\fR"
28
The \fBmain.cf\fR configuration file is in the named directory
29
instead of the default configuration directory. See also the
30
MAIL_CONFIG environment setting below.
32
Flush the queue: attempt to deliver all queued mail.
34
This option implements the traditional \fBsendmail -q\fR command,
35
by contacting the Postfix \fBqmgr\fR(8) daemon.
37
Warning: flushing undeliverable mail frequently will result in
38
poor delivery performance of all other mail.
40
Produce a traditional sendmail-style queue listing.
41
This option implements the traditional \fBmailq\fR command,
42
by contacting the Postfix \fBshowq\fR(8) daemon.
44
Each queue entry shows the queue file ID, message
45
size, arrival time, sender, and the recipients that still need to
46
be delivered. If mail could not be delivered upon the last attempt,
47
the reason for failure is shown. This mode of operation is implemented
48
by executing the \fBpostqueue\fR(1) command. The queue ID string
49
is followed by an optional status character:
52
The message is in the \fBactive\fR queue, i.e. the message is
53
selected for delivery.
55
The message is in the \fBhold\fR queue, i.e. no further delivery
56
attempt will be made until the mail is taken off hold.
58
.IP "\fB-s \fIsite\fR"
59
Schedule immediate delivery of all mail that is queued for the named
60
\fIsite\fR. The site must be eligible for the "fast flush" service.
61
See \fBflush\fR(8) for more information about the "fast flush"
64
This option implements the traditional \fBsendmail -qR\fIsite\fR
65
command, by contacting the Postfix \fBflush\fR(8) daemon.
67
Enable verbose logging for debugging purposes. Multiple \fB-v\fR
68
options make the software increasingly verbose.
74
This program is designed to run with set-group ID privileges, so
75
that it can connect to Postfix daemon processes.
79
Problems are logged to \fBsyslogd\fR(8) and to the standard error
87
Directory with the \fBmain.cf\fR file. In order to avoid exploitation
88
of set-group ID privileges, a non-standard directory is allowed only
92
The name is listed in the standard \fBmain.cf\fR file with the
93
\fBalternate_config_directories\fR configuration parameter.
95
The command is invoked by the super-user.
97
.SH "CONFIGURATION PARAMETERS"
102
The following \fBmain.cf\fR parameters are especially relevant to
104
The text below provides only a parameter summary. See
105
postconf(5) for more details including examples.
106
.IP "\fBalternate_config_directories (empty)\fR"
107
A list of non-default Postfix configuration directories that may
108
be specified with "-c config_directory" on the command line, or
109
via the MAIL_CONFIG environment parameter.
110
.IP "\fBconfig_directory (see 'postconf -d' output)\fR"
111
The default location of the Postfix main.cf and master.cf
113
.IP "\fBcommand_directory (see 'postconf -d' output)\fR"
114
The location of all postfix administrative commands.
115
.IP "\fBfast_flush_domains ($relay_domains)\fR"
116
Optional list of destinations that are eligible for per-destination
117
logfiles with mail that is queued to those destinations.
118
.IP "\fBimport_environment (see 'postconf -d' output)\fR"
119
The list of environment parameters that a Postfix process will
120
import from a non-Postfix parent process.
121
.IP "\fBqueue_directory (see 'postconf -d' output)\fR"
122
The location of the Postfix top-level queue directory.
123
.IP "\fBsyslog_facility (mail)\fR"
124
The syslog facility of Postfix logging.
125
.IP "\fBsyslog_name (postfix)\fR"
126
The mail system name that is prepended to the process name in syslog
127
records, so that "smtpd" becomes, for example, "postfix/smtpd".
128
.IP "\fBtrigger_timeout (10s)\fR"
129
The time limit for sending a trigger to a Postfix daemon (for
130
example, the pickup(8) or qmgr(8) daemon).
134
/var/spool/postfix, mail queue
138
qmgr(8), queue manager
139
showq(8), list mail queue
140
flush(8), fast flush service
141
sendmail(1), Sendmail-compatible user interface
142
postsuper(1), privileged queue operations
148
Use "\fBpostconf readme_directory\fR" or
149
"\fBpostconf html_directory\fR" to locate this information.
152
ETRN_README, Postfix ETRN howto
158
The Secure Mailer license must be distributed with this software.
164
The postqueue command was introduced with Postfix version 1.1.
169
IBM T.J. Watson Research
171
Yorktown Heights, NY 10598, USA