On Thu, 6 Sep 2007, Marcin Michal Jessa wrote:
I do use prefetch, I have an separate query, too. Without that the
quota fails completely.

Having both statements and prefetch, the quota works fine with IMAP
and deliver when I have no quota line in the plugin section, when I
add the line (see !!MARK!! below), the deliver takes the quota from
that line instead of the database information. IMAP uses the
information from the database all the time, no matter if I have a
quota line in the config.
[...]

plugin {
  # !!MARK!!
  # deliver seems to use the userdb quota only when I don't have the
following line
  quota = maildir:storage=102400:messages=1000
  acl = vfile:/etc/dovecot/acls
  trash = /etc/dovecot/dovecot-trash.conf
}
I discovered something similar. User's quota from the DB was not used
when the user's quota was over the limit of the plugin part.
According to the docs the db quota values should always come first
before the plugin part but it does not.

I think you might be experiencing a bug that Timo recently fixed:

http://www.dovecot.org/list/dovecot/2007-August/025016.html

Right now, it is only available in HG, but should be included in 1.0.4.

-Doug

Reply via email to