Wilberth Pérez wrote:
Hi everybody
any one knows, how i could edit dovecot to assign user quotas ?
I have now configured my dovecot.conf on this way:
protocol imap {
listen = *:143
mail_plugins = quota imap_quota
}
protocol pop3 {
listen = *:110
mail_plugins = quota
}
plugin {
quota = fs:INBOX:mount=/
quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
}
however when a test my quota:
quota -v user1
Disk quotas for user1 (uid 107):
Filesystem *usage* *quota* limit timeleft files quota limit
timeleft
/var/mail 16911 10240 20480 NOT STARTED 49 1000 1500
dovecot or postfix (i don't know who really should sendme the
messsage) never sendme an quota warning
someone knows what happen ?
What version of Dovecot are you using? You have no quota_rule specified.
If using 1.1 or higher, check out this page:
http://wiki.dovecot.org/Quota/1.1
N.