[Dovecot] Dovecot with Company - level Quota
Hi Timo,
We are using maildir as quota-backend , and performing user level quota, which is working fine. (using dovecot 2.x ).
Now the requirement is to , restrict the quota to client / company level along with user level quota. For. eg.
We have a mailbox path like /mail/mailstore/10001/kavish.karkera@linoquery.com/Maildir/
where 10001 is Client code (unique number given to very client) instead of domain name.
So there would be two quota's one at company level and other user level. Such as
10001(linoquery.com) = 5GB ---> Company Quota kavish.karkera@linoquery.com = 0 ? ---> User Quota
If the sum of the user quota under 10001/* exceeds the 5GB limit then the mails for that particular domain should get bounced.
Please Help , if this is possible.
Regards, Kavish Karkera
On 7.8.2012, at 18.17, Kavish Karkera wrote:
We are using maildir as quota-backend , and performing user level quota, which is working fine. (using dovecot 2.x ).
Now the requirement is to , restrict the quota to client / company level along with user level quota.
http://www.dovecot.org/list/dovecot/2010-May/049168.html
http://wiki2.dovecot.org/Quota/Dict
The quota recalculation (also means setting the initial quota) is still a problem. I guess it could be possible to fix nowadays since you can also script it by doing something like:
doveadm quota get -u '*@example.com' and sum up the quota values and update the domain quota.
participants (2)
-
Kavish Karkera
-
Timo Sirainen