How to get warning email if email is delayed and deferred
How to get warning e-mail if e-mail is delayed and deferred?
Problem
How to get warning e-mail if e-mail is delayed and deferred
Solution
We need to configure "zimbraMtaDelayWarningTime" attribute to achieve this.
For example, want to get the warning email in exact five minutes if the e-mail is deferred, then following is the command need to execute on MTA server:
# su - zimbra $ zmprov ms `zmhostname` zimbraMtaDelayWarningTime 5m
Restart the MTA service:
$ zmmtactl restart
If the warning message needed after 4 hours, then specify "4h".
Example of warning message:
----------------------------------------------------------------------------------------------------------------------- This is the mail system at host mail.domain.com. #################################################################### # THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. # #################################################################### Your message could not be delivered for more than 0 hour(s). It will be retried until it is 5 day(s) old. 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. -----------------------------------------------------------------------------------------------------------------------