To See The Postfix Queues
As zimbra using sudo – show a summary of queue count – ~/libexec/zmqstat:

[zimbra@mail37 ~]$ sudo ~/libexec/zmqstat
hold=0
corrupt=0
deferred=0
active=0
incoming=0
As zimbra

/opt/zimbra/postfix/sbin/postqueue -p

[zimbra@mail37 ~]$ /opt/zimbra/postfix/sbin/postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
EC753D0D00* 328 Thu Apr 5 14:34:09 sender@sourcedomainname.local
 recipient@destinationdomainname.local

-- 0 Kbytes in 1 Request.
As zimbra - mailq
[zimbra@mail37 ~]$ mailq
Mail queue is empty

Delete message from queue

[zimbra@mail37 ~]$ sudo /opt/zimbra/postfix/sbin/postsuper -d 0B20B90027E
postsuper: 0B20B90027E: removed
postsuper: Deleted: 1 message
Advertisements