Topic: Quota warnings
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: Centos 5.8
- Related log if you're reporting an issue:
====
Hi everyone , I want to configure Ired send warning mail when user's mailbox exceeds the 90% quota . I fail
Here is my dovecot.conf
plugin {
# Quota warning.
#
# You can find sample script from Dovecot wiki:
# http://wiki.dovecot.org/Quota/1.1#head- … b45bec1734
#
# If user suddenly receives a huge mail and the quota jumps from
# 85% to 95%, only the 95% script is executed.
#
quota_warning = storage=85%% /usr/local/bin/dovecot-quota-warning.sh 85
quota_warning2 = storage=90%% /usr/local/bin/dovecot-quota-warning.sh 90
quota_warning3 = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95
}
Here is my dovecot-quota-warning.sh :
From: no-reply@demo.iredmail.org
BCC: duydpp@test.vn
Subject: Mailbox Quota Warning: ${PERCENT}% Full.
Your mailbox is now ${PERCENT}% full, please clean up some mails for
further incoming mails.
Where it wrong ? please check , I'm not good at linux script
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.