I am using system users + filesystem quota + dovecot + postfix + debian. Can't update my dovecot to a newer version :(
Some lines of my configuration file (dovecot.conf) are like this: mail_location = mbox:/home/%u:INBOX=/var/mail/%u mbox_lazy_writes = yes protocol imap { mail_plugins = quota imap_quota } plugin { quota = fs:user }
Now, it working. Squirrelmail shows the quota bar. The problem is that it reads only mbox quota. I need to dovecot to read both filesystem quotas as one. [image: ?ui=2&view=att&th=1260052db09cca97&attid=0.1&disp=attd&realattid=ii_1260052db09cca97&zw]
My own user quota is defined like this: # quota just_me Disk quotas for user just_me (uid 4877): Filesystem blocks quota limit grace files quota limit grace /dev/sdc1 861296 900000 1000000 1 0 0 /dev/sdb1 371156 900000 1000000 30 0 0
/dev/sdc1 is /var/mail/ (INBOX) /dev/sdb1 is /home/ (mbox)
What should I do in order to squirrelmail to show a quota of 1.8GB (INBOX + mbox) ?
regards,
Bruno Guimarães Sousa www.ifba.edu.br PONTONET - DGTI - IFBA Ciência da Computação UFBA Registered Linux user #465914
2009/12/23 Timo Sirainen tss@iki.fi
On Tue, 2009-12-22 at 17:44 -0300, Bruno Guimarães Sousa wrote:
I'm trying to make quota to work in dovecot 1.0.rc15 in a Debian machine. Setting the limit to 1GB and starting to fill up the mailbox and nothing stopped me. It just kept growing and nothing happened. Restarted the service and nothing. I had already exceeded the 1 GB limit and nothing happens, the mailbox still goes bigger and bigger...
The *"check_quota"* plugin for squirrelmail shows "0.0% of 1.0GB" in my browser. 1GB is exactly what it is defined in dovecot.conf by maildir.
Is it necessary to configure something in postfix?
Yes. You need to use Dovecot deliver, Postfix's maildir delivery won't update quota. http://wiki.dovecot.org/LDA