<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hello Aki,</div><br><div>Thank you very much, indeed that was the missing part.<br><br></div><div><div>I've also enabled<br><div><span>mailbox_list_index = yes<br><span>protocol !indexer-worker {<br> mail_vsize_bg_after_count = 100<br>}<br></span></span><span><span></span></span><div><br><div><div>As described in the documentation<br><a href="https://wiki.dovecot.org/Quota/Count" rel="nofollow" target="_blank" class="">https://wiki.dovecot.org/Quota/Count</a></div><div><br></div><div>Regards<br></div></div></div></div></div><br></div><div><br></div> <br> Le lundi 17 septembre 2018 à 07:57:58 UTC+2, Aki Tuomi <aki.tuomi@dovecot.fi> a écrit : <br><br><br><br><br><br>You did everything except actually enable quota... =)<br><br>Try adding this to your configuration<br><br> quota = count:User quota<br> quota_vsizes = yes<br><br>inside the plugin {} section.<br><br>Aki<br><br>> On 16 September 2018 at 21:58 Mik J <mikydevel@yahoo.fr> wrote:<br>> <br>> <br>> Hello,<br>> <br>> I'm trying to have quotas working with roundcube.<br>> When I'm logged into roundcube I see 0% quota which seems to correspond to disabled.<br>> <br>> However I did everything that I could to enable quotas<br>> https://wiki.dovecot.org/Quota<br>> <br>> # doveconf -n <br>> auth_mechanisms = cram-md5 loginauth_verbose = yes<br>> debug_log_path = /tmp/dovecot.log<br>> first_valid_uid = 1000<br>> log_path = /var/log/dovecot.log<br>> mail_gid = vmail<br>> mail_location = maildir:/home/mail/%d/%n/Maildir<br>> mail_plugins = notify replication quota<br>> mail_uid = vmail<br>> mbox_write_locks = fcntl<br>> mmap_disable = yes<br>> namespace inbox {<br>> inbox = yes<br>> location =<br>> mailbox Drafts {<br>> special_use = \Drafts<br>> }<br>> mailbox Junk {<br>> special_use = \Junk<br>> }<br>> mailbox Sent {<br>> special_use = \Sent<br>> }<br>> mailbox "Sent Messages" {<br>> special_use = \Sent<br>> }<br>> mailbox Trash {<br>> special_use = \Trash<br>> }<br>> prefix =<br>> }<br>> passdb {<br>> driver = bsdauth<br>> }<br>> passdb {<br>> args = /etc/dovecot/dovecot.passwd<br>> driver = passwd-file<br>> }<br>> plugin {<br>> quota_grace = 10%%<br>> quota_rule = *:storage=2G<br>> quota_rule2 = Trash:storage=+200M<br>> quota_rule3 = SPAM:ignore<br>> quota_status_nouser = DUNNO<br>> quota_status_overquota = 552 5.2.2 Mailbox is full<br>> quota_status_success = DUNNO<br>> quota_warning = storage=95%% quota-warning 95 %u<br>> quota_warning2 = storage=80%% quota-warning 80 %u<br>> }<br>> ssl_ca = /etc/ssl/certs/CA_Intermed_Lets_Encrypt.crt<br>> ssl_cert = </etc/ssl/certs/imap.mydomain.org.crt<br>> ssl_key = # hidden, use -P to show it<br>> ssl_key_password = # hidden, use -P to show it<br>> userdb {<br>> driver = passwd<br>> }<br>> userdb {<br>> driver = static<br>> }<br>> protocol lda {<br>> mail_plugins = notify replication quota<br>> }<br>> protocol imap {<br>> mail_plugins = notify replication quota imap_quota<br>> }<br>> <br>> <br>> <br>><br><br></div></body></html>