[dev-neuridia] Quota control
Charles A. Landemaine
landemaine at gmail.com
Wed Mar 5 09:17:30 PST 2008
Hello,
Although today's hosting plans have lots of space, there are cases
where disk quota is important, especially when you have a fair amount
of users and limited HDD space.
Our webmail will store messages in a database (SQLite, Berkeley DB, or
MySQL), and attachments on the file system. I think we can define disk
quota in the admin area, then a daily cron job would calculate used
space for each user both in the database and on the file system. If
the user runs out of disk space, he gets a warning email in his mail
box. He could also get a pre-warning when he reaches 90%.
How does that sound to you, guys?
Cheers,
--
Charles A. Landemaine.
More information about the dev
mailing list