mouss wrote, On 10/20/2008 05:04 PM:
Sotiris Tsimbonis a écrit :
- you can populate an access list to reject mail to users who are over
quota. you need some way to remove them from the list once they purge
their mailbox (web ui, cron, dovecot plugin, ...).
[...]
My preference for quota handling is this:
- user has two quotas. say 100 Mo and 150 Mo.
- if he reaches 100 Mo, he is warned. he should purge his mailbox.
- if he reaches 150 Mo, his address is blocked. He will need to purge
his mailbox and ask to be delisted (maybe via a web UI).
- when mail is received, users who are between 100 and 150 are checked
in real time. if this shows them reaching 150, they are added to the
"block list". otherwise, mail is delivered as usual.
Very interesting idea..
I could populate a list with users approaching quota (over a certain
threshold) and use it in my milter in order to avoid calling the backend
quota-reporting service for every user..
Cheers,
Sotiris.