Is there anything that can be done so that when users IMAP to their inbox and have reached their filesystem quota, that they can still DELETE their mail? They can login, but when they go to delete/expunge this is the error I get in syslog. I have tried mail_read_mmaped to yes and no, and same result. Mar 25 14:54:27 penguin1 imap(bob): file_set_size() failed with index data file /home/bob/mail/.imap/INBOX/.imap.index.data: Disk quota exceededMar 25 14:54:27 penguin1 imap(bob): mmap_istream.madvise(): Function not implemented Mar 25 14:54:28 penguin1 last message repeated 65 times When using UW IMAP, sometimes users can delete mail and other times they cannot. I am desperately seeking a solution to have customers be able to delete their own mail when their box is full and not have to call our support center. Any suggestions? Thanks. Debian with kernel 2.4.18. -- Mike Machado mike at innercite.com InnerCite Inc. Engineering Director / CTO
On Tue, 2003-03-25 at 18:48, Mike Machado wrote:> Is there anything that can be done so that when users IMAP to their > inbox and have reached their filesystem quota, that they can still > DELETE their mail? They can login, but when they go to delete/expunge > this is the error I get in syslog. I have tried mail_read_mmaped to yes > and no, and same result. > > Mar 25 14:54:27 penguin1 imap(bob): file_set_size() failed with index > data file /home/bob/mail/.imap/INBOX/.imap.index.data: Disk quota > exceededMar 25 14:54:27 penguin1 imap(bob): mmap_istream.madvise(): > Function not implemented > Mar 25 14:54:28 penguin1 last message repeated 65 times > > > > When using UW IMAP, sometimes users can delete mail and other times they > cannot. I am desperately seeking a solution to have customers be able to > delete their own mail when their box is full and not have to call our > support center. Any suggestions? Thanks.What about making soft file quotas w/unlimited grace periods. You'd have to lace your mail system into it so it could tell them they are over quota and bounce mail but not actually have a hard limit. -sv
On Wed, 2003-03-26 at 01:48, Mike Machado wrote:> Mar 25 14:54:27 penguin1 imap(bob): file_set_size() failed with index > data file /home/bob/mail/.imap/INBOX/.imap.index.data: Disk quota > exceededMar 25 14:54:27 penguin1 imap(bob): mmap_istream.madvise(): > Function not implemented > Mar 25 14:54:28 penguin1 last message repeated 65 timesOh, write() returns EDQUOT instead of ENOSPC when quota is full? Didn't know that before. I'll fix it so that they're both checked. After that Dovecot will just use memory instead if it can't create the index files.