NAME
postqueue
-
Postfix queue control
SYNOPSIS
ppoossttqquueeuuee [--vv] [--cc _c_o_n_f_i_g___d_i_r] --ff
ppoossttqquueeuuee [--vv] [--cc _c_o_n_f_i_g___d_i_r] --ii _q_u_e_u_e___i_d
ppoossttqquueeuuee [--vv] [--cc _c_o_n_f_i_g___d_i_r] --pp
ppoossttqquueeuuee [--vv] [--cc _c_o_n_f_i_g___d_i_r] --ss _s_i_t_e
DESCRIPTION
The ppoossttqquueeuuee(1) command implements the Postfix user interface
for queue management. It implements operations that are
traditionally available via the sseennddmmaaiill(1) command.
See the ppoossttssuuppeerr(1) command for queue operations
that require super-user privileges such as deleting a message
from the queue or changing the status of a message.
The following options are recognized:
-
--cc _c_o_n_f_i_g___d_i_r
The mmaaiinn..ccff configuration file is in the named directory
-
instead of the default configuration directory. See also the
MAIL_CONFIG environment setting below.
-
--ff
Flush the queue: attempt to deliver all queued mail.
-
This option implements the traditional "sseennddmmaaiill --qq" command,
by contacting the Postfix qqmmggrr(8) daemon.
Warning: flushing undeliverable mail frequently will result in
poor delivery performance of all other mail.
-
--ii _q_u_e_u_e___i_d
Schedule immediate delivery of deferred mail with the
-
specified queue ID.
This option implements the traditional sseennddmmaaiill --qqII
command, by contacting the fflluusshh(8) server.
This feature is available with Postfix version 2.4 and later.
-
--pp
Produce a traditional sendmail-style queue listing.
-
This option implements the traditional mmaaiillqq command,
by contacting the Postfix sshhoowwqq(8) daemon.
Each queue entry shows the queue file ID, message
size, arrival time, sender, and the recipients that still need to
be delivered. If mail could not be delivered upon the last attempt,
the reason for failure is shown. The queue ID string
is followed by an optional status character:
-
**
The message is in the aaccttiivvee queue, i.e. the message is
-
selected for delivery.
-
!!
The message is in the hhoolldd queue, i.e. no further delivery
-
attempt will be made until the mail is taken off hold.
-
--ss _s_i_t_e
Schedule immediate delivery of all mail that is queued for the named
-
_s_i_t_e. A numerical site must be specified as a valid RFC 2821
address literal enclosed in [], just like in email addresses.
The site must be eligible for the "fast flush" service.
See fflluusshh(8) for more information about the "fast flush"
service.
This option implements the traditional "sseennddmmaaiill --qqRR_s_i_t_e"
command, by contacting the Postfix fflluusshh(8) daemon.
-
--vv
Enable verbose logging for debugging purposes. Multiple --vv
-
options make the software increasingly verbose. As of Postfix 2.3,
this option is available for the super-user only.
SECURITY
This program is designed to run with set-group ID privileges, so
that it can connect to Postfix daemon processes.
DIAGNOSTICS
Problems are logged to ssyyssllooggdd(8) and to the standard error
stream.
ENVIRONMENT
-
MAIL_CONFIG
Directory with the mmaaiinn..ccff file. In order to avoid exploitation
-
of set-group ID privileges, a non-standard directory is allowed only
if:
-
·
The name is listed in the standard mmaaiinn..ccff file with the
-
aalltteerrnnaattee__ccoonnffiigg__ddiirreeccttoorriieess configuration parameter.
-
·
The command is invoked by the super-user.
-
CONFIGURATION PARAMETERS
The following mmaaiinn..ccff parameters are especially relevant to
this program.
The text below provides only a parameter summary. See
ppoossttccoonnff(5) for more details including examples.
-
aalltteerrnnaattee__ccoonnffiigg__ddiirreeccttoorriieess ((eemmppttyy))
A list of non-default Postfix configuration directories that may
-
be specified with "-c config_directory" on the command line, or
via the MAIL_CONFIG environment parameter.
-
ccoonnffiigg__ddiirreeccttoorryy ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The default location of the Postfix main.cf and master.cf
-
configuration files.
-
ccoommmmaanndd__ddiirreeccttoorryy ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The location of all postfix administrative commands.
-
-
ffaasstt__fflluusshh__ddoommaaiinnss (($$rreellaayy__ddoommaaiinnss))
Optional list of destinations that are eligible for per-destination
-
logfiles with mail that is queued to those destinations.
-
iimmppoorrtt__eennvviirroonnmmeenntt ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The list of environment parameters that a Postfix process will
-
import from a non-Postfix parent process.
-
qquueeuuee__ddiirreeccttoorryy ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The location of the Postfix top-level queue directory.
-
-
ssyysslloogg__ffaacciilliittyy ((mmaaiill))
The syslog facility of Postfix logging.
-
-
ssyysslloogg__nnaammee ((sseeee ''ppoossttccoonnff --dd'' oouuttppuutt))
The mail system name that is prepended to the process name in syslog
-
records, so that "smtpd" becomes, for example, "postfix/smtpd".
-
ttrriiggggeerr__ttiimmeeoouutt ((1100ss))
The time limit for sending a trigger to a Postfix daemon (for
-
example, the ppiicckkuupp(8) or qqmmggrr(8) daemon).
Available in Postfix version 2.2 and later:
-
aauutthhoorriizzeedd__fflluusshh__uusseerrss ((ssttaattiicc::aannyyoonnee))
List of users who are authorized to flush the queue.
-
-
aauutthhoorriizzeedd__mmaaiillqq__uusseerrss ((ssttaattiicc::aannyyoonnee))
List of users who are authorized to view the queue.
-
FILES
/var/spool/postfix, mail queue
SEE ALSO
qmgr(8), queue manager
showq(8), list mail queue
flush(8), fast flush service
sendmail(1), Sendmail-compatible user interface
postsuper(1), privileged queue operations
README FILES
Use "ppoossttccoonnff rreeaaddmmee__ddiirreeccttoorryy" or
"ppoossttccoonnff hhttmmll__ddiirreeccttoorryy" to locate this information.
ETRN_README, Postfix ETRN howto
LICENSE
The Secure Mailer license must be distributed with this software.
HISTORY
The postqueue command was introduced with Postfix version 1.1.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA