Seth Woolley's Man Viewer

postqueue(1) - postqueue - Postfix queue control - man 1 postqueue

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

POSTQUEUE(1)                                                      POSTQUEUE(1)



NAME
       postqueue - Postfix queue(1,3) control

SYNOPSIS
       postqueue [-c config_dir] -f
       postqueue [-c config_dir] -p
       postqueue [-c config_dir] -s site

DESCRIPTION
       The  postqueue(1)  command  implements  the  Postfix user interface for
       queue(1,3) management.  It  implements  operations  that  are  traditionally
       available  via  the  sendmail(1,8)(1) command.  See the postsuper(1) command
       for queue(1,3) operations that require super-user privileges such as  delet-
       ing a message from the queue(1,3) or changing the status of a message.

       The following options are recognized:

       -c config_dir
              The main.cf configuration file(1,n) is in(1,8) the named(5,8) directory instead
              of the default configuration directory. See also the MAIL_CONFIG
              environment setting below.

       -f     Flush the queue: attempt to deliver all queued mail.

              This option implements the traditional "sendmail(1,8) -q" command, by
              contacting the Postfix qmgr(8) daemon.

              Warning: flushing undeliverable mail(1,8) frequently will  result  in(1,8)
              poor delivery performance of all other mail.

       -p     Produce a traditional sendmail-style queue(1,3) listing.  This option
              implements the traditional  mailq  command,  by  contacting  the
              Postfix showq(8) daemon.

              Each  queue(1,3) entry shows the queue(1,3) file(1,n) ID, message size, arrival
              time(1,2,n), sender, and the recipients that still need  to  be  deliv-
              ered.  If mail(1,8) could not be delivered upon the last attempt, the
              reason for failure is shown. This mode of  operation  is  imple-
              mented  by  executing  the  postqueue(1)  command.  The queue(1,3) ID
              string(3,n) is followed by an optional status character:

              *      The message is in(1,8) the active queue(1,3), i.e. the  message  is
                     selected for delivery.

              !      The  message is in(1,8) the hold queue(1,3), i.e. no further deliv-
                     ery attempt will be made until  the  mail(1,8)  is  taken  off
                     hold.

       -s site
              Schedule  immediate  delivery of all mail(1,8) that is queued for the
              named(5,8) site. A numerical site must be specified as  a  valid  RFC
              2821  address  literal  enclosed  in(1,8)  [],  just  like  in(1,8)  email
              addresses.  The site must be eligible for the "fast flush(8,n)"  ser-
              vice.   See flush(8,n)(8) for more information about the "fast flush(8,n)"
              service.

              This option implements the traditional "sendmail(1,8)  -qRsite"  com-
              mand, by contacting the Postfix flush(8,n)(8) daemon.

       -v     Enable  verbose  logging  for  debugging  purposes.  Multiple -v
              options make the software increasingly verbose.

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 syslogd(8) and to the standard error(8,n) stream.

ENVIRONMENT
       MAIL_CONFIG
              Directory  with the main.cf file. In order to avoid exploitation
              of set-group ID privileges, a non-standard directory is  allowed
              only if:

                    The  name is listed in(1,8) the standard main.cf file(1,n) with the
                     alternate_config_directories configuration parameter.

                    The command is invoked by the super-user.

CONFIGURATION PARAMETERS
       The following main.cf parameters are especially relevant to  this  pro-
       gram.   The  text  below  provides  only a parameter summary. See post-
       conf(3,5)(5) for more details including examples.

       alternate_config_directories (empty)
              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.

       config_directory (see 'postconf(1,5) -d' output)
              The default location of the Postfix main.cf and  master.cf  con-
              figuration files.

       command_directory (see 'postconf(1,5) -d' output)
              The location of all postfix administrative commands.

       fast_flush_domains ($relay_domains)
              Optional list of destinations that are eligible for per-destina-
              tion logfiles with mail(1,8) that is queued to those destinations.

       import_environment (see 'postconf(1,5) -d' output)
              The list of environment parameters that a Postfix  process  will
              import from a non-Postfix parent process.

       queue_directory (see 'postconf(1,5) -d' output)
              The location of the Postfix top-level queue(1,3) directory.

       syslog_facility (mail(1,8))
              The syslog(2,3,5,3 Sys::Syslog) facility of Postfix logging.

       syslog_name (postfix)
              The  mail(1,8)  system  name that is prepended to the process name in(1,8)
              syslog(2,3,5,3 Sys::Syslog) records, so that "smtpd"  becomes,  for  example,  "post-
              fix/smtpd".

       trigger_timeout (10s)
              The  time(1,2,n)  limit  for sending a trigger to a Postfix daemon (for
              example, the pickup(8) or qmgr(8) daemon).

       Available in(1,8) Postfix version(1,3,5) 2.2 and later:

       authorized_flush_users (static:anyone)
              List of users(1,5) who are authorized to flush(8,n) the queue.

       authorized_mailq_users (static:anyone)
              List of users(1,5) who are authorized to view the queue.

FILES
       /var/spool/postfix, mail(1,8) queue(1,3)

SEE ALSO
       qmgr(8), queue(1,3) manager
       showq(8), list mail(1,8) queue(1,3)
       flush(8,n)(8), fast flush(8,n) service
       sendmail(1,8)(1), Sendmail-compatible user interface
       postsuper(1), privileged queue(1,3) operations

README FILES
       Use "postconf(1,5) readme_directory" or "postconf(1,5) html_directory" 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,3,5) 1.1.

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



                                                                  POSTQUEUE(1)

References for this manual (incoming links)