Its been a while since I tried dovecot on my mail server where I have quota issues. I am using mbox file format. There still seems to be a quota problem. I have only /var with quotas and basedir is under /usr (not quotaed). default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u. I tried with mbox_locks = dotlock fcntl (1st set of logs below) and with mbox_locks = fcntl (2nd set of logs) dotlock: Jun 12 17:02:49 newrook pop3(mike): open(/var/mail/mike.lock) failed: Disk quota exceeded Jun 12 17:02:49 newrook pop3(mike): file_lock_dotlock() failed with mbox file /var/mail/mike: Disk quota exceeded Jun 12 17:02:49 newrook pop3(mike): open(/var/mail/mike.lock) failed: Disk quota exceeded Jun 12 17:02:49 newrook pop3(mike): file_lock_dotlock() failed with mbox file /var/mail/mike: Disk quota exceeded Jun 12 17:02:49 newrook pop3: I/O leak: 0x8050930 (0) Jun 12 17:02:49 newrook pop3: I/O leak: 0x807baac (1) fcntl: Jun 12 16:45:32 newrook pop3-login: Login: mike [127.0.0.1] Jun 12 16:45:33 newrook pop3(mike): file_set_size() failed with mbox file /var/mail/mike: Disk quota exceeded Jun 12 16:45:33 newrook pop3(mike): file_set_size() failed with mbox file /var/mail/mike: Disk quota exceeded Jun 12 16:45:33 newrook pop3: I/O leak: 0x8073a2c (1) Jun 12 16:45:33 newrook pop3: I/O leak: 0x804a470 (0) I am using the latest CVS (as of 5 minutes ago). Wasn't this supposed to be working? Have I missed something? My sole goal is to allow people to delete mail when they are out of disk space. -- Mike Machado mike at innercite.com InnerCite Inc. Engineering Director / CTO
On Thu, Jun 12, 2003 at 05:09:51PM -0700, Mike Machado wrote:> Its been a while since I tried dovecot on my mail server where I have > quota issues. I am using mbox file format. There still seems to be a > quota problem. I have only /var with quotas and basedir is under /usr > (not quotaed). default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u. > > I tried with mbox_locks = dotlock fcntl (1st set of logs below) and with > mbox_locks = fcntl (2nd set of logs)We still see quota issues using Maildir as well. If a user goes over quota, they can no longer access their Maildir mailbox. We have to go in and either change their quota or delete some files. Somehow I thought this has been fixed at one point, but I guess not.. mm
On Fri, 2003-06-13 at 03:09, Mike Machado wrote:> Jun 12 17:02:49 newrook pop3(mike): open(/var/mail/mike.lock) failed: > Disk quota exceededCan't really do much about this.> Jun 12 17:02:49 newrook pop3: I/O leak: 0x8050930 (0) > Jun 12 17:02:49 newrook pop3: I/O leak: 0x807baac (1)Hmm. These shouldn't happen..> Jun 12 16:45:33 newrook pop3(mike): file_set_size() failed with mbox > file /var/mail/mike: Disk quota exceededThis is because it tries to write message UIDs to the mbox file. This is similiar problem to not being able to update maildir's dovecot-uidlist file. I think I know how to fix it right, it just requires writing the code..