Send a immediate email when the Quota is exceeded
Send a immediate email when the Quota is exceeded
Purpose
Zimbra Collaboration, by default, saves email for 5 days if the quota of a mailbox is exceeded. Zimbra then sends the email to the recipient if (during this time) the mailbox has space. This can be a huge a problem if you have thousands of mailboxes. In this KB, we will drop an error email when the Mailbox is full without saving it in any queue.
Resolution
Run the next command in the MTA Server. Like zimbra user
zmprov mcf zimbraLmtpPermanentFailureWhenOverQuota TRUE
The error message will appear immediately
This is the mail system at host zimbra-sn-u14-10.zimbralab.local. I’m sorry to have to inform you that your message could not be delivered to one or more recipients. It’s attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system<user@zimbra.local>: host zimbra-sn-u14-10.zimbralab.local[127.0.1.1] said: 552 5.2.2 Over quota (in reply to end of DATA command)
Additional Content
- No related content.