Displaying 1 result from an estimated 1 matches for "mymailgroup".
Did you mean:
mailgroup
2012 May 08
1
Enforcing Dovecot Quotas
...protocol imap {
mail_plugins = quota imap_quota
}
plugin {
quota_exceeded_message = You have exceeded the maximum quota for
your mailbox
}
the dovecot sql (mysql) file has the following query for pulling out user
ids and quotas etc:
user_query = SELECT maildir, mymailuser as uid, mymailgroup as
gid,concat('maildir:storage=',quota) as quota FROM virtual_mailbox WHERE
username = '%u'
I have set one of my users to have a quota of 1 (so one byte I believe) so
it should be over the limit pretty much immediately.
Looking at the logs I can see that the system is picking up o...