6 Nov
2024
6 Nov
'24
1:03 a.m.
Is it possible to make IMAP quota commands report free filesystem space? I don't want to set quota limits to individual users, but it would be nice to have an information on the bottom of Thunderbird window about free disk space (it could be percentage of the total disk size).
The quota is a stored fixed value. There is no built in way for it to know your drive space.
However, you can build your own mouse trap. The quota value can come from a flat file or a database. You can create a service, or crontab job, that can fetch the free drive space (subtract your percentage) and save that to your flat file or database so when each user logs in they will be given the current drive space at that time. Not exactly live data but close enough.