ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Open Source Edition


Monitoring ZCS Servers > Working with Mail Queues

Working with Mail Queues
When the Zimbra MTA receives mail, it routes the mail through a series of queues to manage delivery; incoming, active, deferred, held, and corrupt.
The incoming message queue holds the new mail that has been received. Each message is identified with a unique file name. Messages are moved to the active queue when there is room. If there are no problems, message move through this queue very quickly.
The active message queue holds messages that are ready to be sent. The MTA sets a limit to the number of messages that can be in the active queue at any one time. From here, messages are moved to and from the anti-virus and anti-spam filters before being delivered to another queue.
Messages that cannot be delivered are placed in the deferred queue. The reasons for the delivery failures are documented in a file in the deferred queue. This queue is scanned frequently to resend the message. If the message cannot be sent after the set number of delivery attempts, the message fails. The message is bounced back to the original sender. The default for the bounce queue lifetime is five days.
The held message queue keeps mail that could not be processed. Messages stay in this queue until the administrator moves them. No periodic delivery attempts are made for messages in the held queue.
The corrupt queue stores damaged unreadable messages.
Change the Bounce Queue Lifetime
 
*
zmlocalconfig -e bounce_queue_lifetime=[#]
*
zmlocalconfig -e zimbraLmtpPermanentFailureWhenOverQuota=TRUE
Notify Senders of Bounced Messages
 
Before the bounce queue lifetime sends the message back to the sender, senders can be notified that the message they sent is in the deferred queue and has not been delivered.
Configure the following attributes to send a warning message to the sender.
*
zmlocalconfig -c postfix_delay_warning_time=0h
*
zmlocalconfig -c postfix_bounce_notice_recipient=postmaster
*
zmlocalconfig -c postfix_notify_classes=resource,software
Note:
You can monitor the mail queues for delivery problems from the administration console.
Copyright © 2012 VMware Inc.