Hello,
I have CentOS with quotas installed and make the users read their mails through squirrelmail. So I've been applied quotas in 2 partition, one for home, and other for /var/spool/mail/ directory.
the problem is when the quota is over, the inbox in squirrelmail is locked so the user can't delete their mails and free the space. And all is frozen for them.
Don't know If the question is in the right place.
But could you suggest something. Any thing would be very appreciated.
Thanks for your time.
Alain Reguera wrote on Sat, 26 Nov 2005 02:59:19 -0500:
the problem is when the quota is over, the inbox in squirrelmail is locked so the user can't delete their mails and free the space. And all is frozen for them.
AFAIK this is a general problem with quota. It doesn't apply to Squirrelmail only. It happens the same way with the POP daemons I know. The reason is that the mailbox file gets temporarily moved for opening it and thus for a short amount of time two files would exist and that user be over quota. Behavior may be better if you use maildir format, don't know.
Kai
Kai Schaetzl wrote:
Alain Reguera wrote on Sat, 26 Nov 2005 02:59:19 -0500:
Disk Quota is a bad model for enforcing quota for email. If you need to have quota on your mail, it's generally much better to use an email-enforced quota, such as the quota implementation in Cyrus IMAP. If you were to move to using the Cyrus IMAP server, the quota enforcement would happen in the email system. Thus, when someone goes over their email quota, the mail will back up in the mail queue, and as long as they go back under quota during the time you allow for mail to be queued on your server, the mail would then be delivered to them as soon as they get back under quota.
If you try to enforce quota on the mail in the file system itself, you're going to have this problem.
Now my brain is clean with the issue. I have to study Cyrus.
It seems that Dovecote has no support for mail-quota neither Maildir[1]
thanks for replaying folks, you have been helped me a lot.
[1]: http://dovecot.org/pipermail/dovecot/2003-September/002364.html http://wiki.dovecot.org/moin.cgi/DovecotFeatures