CentOS 7.x Zimbra mail queue management
<yambe:breadcrumb self="Zimbra mail queue management">CentOS_7.x_Zimbra_configuration|Zimbra configuration</yambe:breadcrumb>
CentOS 7.x Zimbra mail queue management
For graphical access to mail queue login as admin user and go to Monitor -> Mail queues. Here Deferred queue is important and shown first. This queue contains emails for which delivery was attempted and failed. The option is to filter emails by Receiver domain, Origin IP, Sender domain, Receiver address, Sender address and Error. We can click on a particular item (eg particular receiver domain) and in the messages pane below only deffered emails related to that particular item are shown. If we hover mouse over any such deferred message row in messages list then error is displayed properly.
If it is required to read email then we should note hexadecimal ID of the message in the below list. Then go to folder:
cd /opt/zimbra/data/postfix/spool/
to see various folders related to various queues. For deferred emails visit deferred/<first-hex-letter> sub-folder inside above folder. Then use either:
less <message-ID>
while accepting warning to display binary message or use less-readable
xxd <message-ID>
Avoid use of cat as it might change terminal settings due to binary data. In case terminal settings are changed exit and reconnect. Other option is to use 'reset' command to reset terminal settings.
There is older article on mail queue management at Zimbra mail queue management
<yambe:breadcrumb self="Zimbra mail queue management">CentOS_7.x_Zimbra_configuration|Zimbra configuration</yambe:breadcrumb>