showqueue

March 26, 2020 Contributors

Name

showqueue — show queue information

Synopsis

showqueue [ binding binding_name ] { domain_name } [ limit,offset ]

Description

The showqueue command is used to list the messages in the queue for a particular domain. The first optional argument is the binding name. If no binding is specified, the default binding will be used. A domain name must be specified. The final optional argument is a "maximum" to show and an "offset" at which to start displaying. This argument defaults to "100,0" if omitted.

To display all the bindings on a domain execute the command showqueue binding all example.com .

The output from the domain example.com which has one message in the active queue and one in the delayed queue, both destined to leave via the default binding, might look as follows:

10:47:35 /tmp/2025> showqueue example.com
[active/default] B3/1D-18426-471AACF3 Created: 1070244212
  From: <sender@postalengine.com> To: <rcpt1@example.com>
[delayed/default] B3/79-18426-4A4BACF3 Created: 1070244212
  From: <sender@postalengine.com> To: <rcpt2@example.com>

you can also list the messages in the queue for a particular domain on a particular binding by specifying a binding name as shown in the following example:

10:47:35 /tmp/2025> showqueue binding smtp-01 example.com
[active/smtp-01] 00/00-21047-B5581944 Created: 1150387547
  From: <sender@example.com> To: <rcpt2@example.com>
[delayed/smtp-01] 10/00-21047-B5581944 Created: 1150387547
  From: <sender@example.com> To: <rcpt1@example.com>