LMTP quota limit notifications


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


Top Level » Email » Dovecot

LMTP quota limit notificationsLast Modified: May 20, 2016, 4:24 am
If you want to send email notices to their accounts at given percent thresholds, the newer exim.conf files use Dovecot's LMTP for deliveries, rather than direct Maildir saves.  With LTMP, dovecot must be responsible for quotas and notices.
The official documentation for that is here:
http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings

With a DirectAdmin CustomBuild 2.0 Dovecot 2.x setup, you can quickly enable and 80%, 95% and 100% notices by typing:

cd /etc/dovecot/conf.d
wget -O 91-quota-warning.conf http://files1.directadmin.com/services/all/91-quota-warning.conf
wget -O /usr/local/bin/quota-warning.sh http://files1.directadmin.com/services/all/quota-warning.sh
chmod 755 /usr/local/bin/quota-warning.sh

and restart Dovecot:

/etc/init.d/dovecot restart

or for systemd box:

systemctl restart dovecot.service


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

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