Send a warning email to email account owners when they approach their inbox quota


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Exim

Send a warning email to email account owners when they approach their inbox quotaLast Modified: May 24, 2016, 12:33 am
If you wish to have exim send an warning to your email users when their inbox is reaching it's limit, edit your /etc/exim.conf, find the virtual_localdelivery:, just below the line that begins with quota = add:

quota_warn_threshold = 80%
quota_is_inclusive = false
quota_warn_message = "\
          To: $local_part@$domain\n\
          Subject: Your mailbox\n\n\
          This message was automatically created\n\
          by mail delivery software.\n\n\
          The size of your mailbox $local_part has exceeded \n\
          a warning threshold of 80 percent\n\
          of your maximum mailbox size.\n"

Save, exit, and restart exim.



NOTE for SpamBlocker 4.x+:

If your "virtual_user" director uses LMTP (transport = dovecot_lmtp_udp), then the virtual_localdelivery will never get called, so the above guide won't apply.
When using LMTP (all new SpamBlocker versions), any E-Mail quota notifications would need to be done through dovecot's quota warning system:
http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings

A guide has been created here:
http://help.directadmin.com/item.php?id=625


 
Related Helpfiles
Force immediate bounce of email if account is over quota
LMTP quota limit notifications

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST