<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I was wondering about that myself, but
      then I couldn't find any info on quota = in the wiki.<br>
      <br>
      Please update:<br>
      <br>
      <a class="moz-txt-link-freetext" href="https://wiki2.dovecot.org/Quota">https://wiki2.dovecot.org/Quota</a><br>
      <br>
      :)<br>
      <br>
      Thanks,<br>
      Reio<br>
      <br>
      On 17/09/2018 08:57, Aki Tuomi wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2048352807.3739.1537163876751@appsuite-dev.open-xchange.com">
      <pre class="moz-quote-pre" wrap="">You did everything except actually enable quota... =)

Try adding this to your configuration

  quota = count:User quota
  quota_vsizes = yes

inside the plugin {} section.

Aki

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On 16 September 2018 at 21:58 Mik J <a class="moz-txt-link-rfc2396E" href="mailto:mikydevel@yahoo.fr"><mikydevel@yahoo.fr></a> wrote:


Hello,

I'm trying to have quotas working with roundcube.
When I'm logged into roundcube I see 0% quota which seems to correspond to disabled.

However I did everything that I could to enable quotas
<a class="moz-txt-link-freetext" href="https://wiki.dovecot.org/Quota">https://wiki.dovecot.org/Quota</a>

# doveconf -n 
auth_mechanisms = cram-md5 loginauth_verbose = yes
debug_log_path = /tmp/dovecot.log
first_valid_uid = 1000
log_path = /var/log/dovecot.log
mail_gid = vmail
mail_location = maildir:/home/mail/%d/%n/Maildir
mail_plugins = notify replication quota
mail_uid = vmail
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = bsdauth
}
passdb {
  args = /etc/dovecot/dovecot.passwd
  driver = passwd-file
}
plugin {
  quota_grace = 10%%
  quota_rule = *:storage=2G
  quota_rule2 = Trash:storage=+200M
  quota_rule3 = SPAM:ignore
  quota_status_nouser = DUNNO
  quota_status_overquota = 552 5.2.2 Mailbox is full
  quota_status_success = DUNNO
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
}
ssl_ca = /etc/ssl/certs/CA_Intermed_Lets_Encrypt.crt
ssl_cert = </etc/ssl/certs/imap.mydomain.org.crt
ssl_key =  # hidden, use -P to show it
ssl_key_password =  # hidden, use -P to show it
userdb {
  driver = passwd
}
userdb {
  driver = static
}
protocol lda {
  mail_plugins = notify replication quota
}
protocol imap {
  mail_plugins = notify replication quota imap_quota
}




</pre>
      </blockquote>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Tervitades<br>
      Reio Remma<br>
      <br>
      <br>
      <img src="cid:part1.928B7B2F.DAECC6A1@mrstuudio.ee" alt="MR
        Stuudio 25 aastat" width="96" height="103">
      <br>
      <p style="font-family: 'Arial', sans-serif;">
        <font size="-1">
          <b>MR Stuudio OÜ</b><br>
          Tondi 17b, 11316, Tallinn<br>
          Tel +372 650 4808<br>
          Mob +372 56 22 00 33<br>
          <a class="moz-txt-link-abbreviated" href="mailto:reio@mrstuudio.ee">reio@mrstuudio.ee</a><br>
          <a class="moz-txt-link-abbreviated" href="http://www.mrstuudio.ee">www.mrstuudio.ee</a><br>
        </font>
        <br>
        <br>
        <br>
      </p>
    </div>
  </body>
</html>