Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Autres versions - même langue

Version: 2008-01-29 (ubuntu - 08/07/09)

Section: 8 (Commandes administrateur)


pmailq - Postfix MAIL Queue manager


pmailq [OPTION]... [COMMAND]

pmailq --help


pmailq parses output of mailq command from postfix (ie: postqueue -p) and permits to perform some actions (like removing or displaying in a machine readable format) on a bunch of entries in queue, selected by applying patterns on criterias like email address, error message from smtp server, message size, mail status in queue.


Action to perform on selected entries.
list (default command)
show a detailed listing of the selected entries
show a listing of the selected entries in a machine readable format
delete (via postsuper -d) selected entries


select entries in queue with email matching PATTERN (PATTERN accepts wildcards)
select entries in queue with error message matching PATTERN (PATTERN accepts wildcards)
-l SIZE, --size-lower=SIZE
select entries in queue with size lower than SIZE bytes
-u SIZE, --size-upper=SIZE
select entries in queue with size upper than SIZE bytes
select 'active' entries in queue
select 'on hold' entries in queue
show program's version number and exit
-h, --help
show this help message and exit


Example nAX1 : display all the mails in queue to ``**'' with a size between 3000 and 3200 bytes in a machine readable format :
  # pmailq -u 3000 -l 3200 -e "*" parse
  7E75214643A4|Fri Aug 31|3154|1|0|
  B0BDE146B640|Thu Aug 30|3199|1|0|
  B587E146B675|Wed Aug 29|3065|0|0|
  CF3C514656E4|Wed Aug 29|3161|0|0|
       /\         /\       /\  \  \      
    queue id     date     size  \  \ on hold (or not)
                                 \ active (or not)

Example nAX2 : remove all mails in queue not sent because of a connection time out :

  # pmailq -m "*connection*timed*out" del
  deleting 00CF514616D3 [OK]
  deleting 12D911461924 [OK]
  deleting 269EF1461CA9 [OK]
  deleting 288DF1461CA0 [OK]
  deleting 3B3901460F62 [OK]
  deleting 3AE58147019F [OK]


postsuper(1) privileged queue operations, postqueue(1) mail queue control


Emmanuel Bouthenot <> Copyright 2007 by Emmanuel Bouthenot <>

This program is released under the ``do What The Fuck you want to Public Licence'' Version 2, as published by Sam Hocevar.

See for more details.


Hey! The above document had some coding errors, which are explained below:
Around line 36:
You forgot a '=back' before '=head1'
Around line 72:
You forgot a '=back' before '=head1'
Around line 97:
You forgot a '=back' before '=head1'
Le Français, né malin, forma le vaudeville.
-+- Nicolas Boileau, Art poétique -+-