Hi Dears,

I believe i found one error in my configuration:

In 90-quota.conf i have this content : 

plugin {
  quota = dict:User quota::file:MAILDIR/%n/dovecot-quota
  quota_rule = *:storage=2GB
}

and in archive dovecot-quota i have : 
priv/quota/messages
18727
priv/quota/storage
7008147397                                                                                                                                     
                                                               
I read some docs and i in my dovecot.conf i not found some thing look like this : 
dict {
  quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
1 Is my thinking right? Should I really have a block like this in the dovecot.conf file for the quota to work correctly?
2- When i to create the archive /etc/dovecot/dovecot-dict-sql.conf.ext i need  changes  dovecot-quota for quota works fine ? 

Thanks a Lot
Marcelo 


On Fri, 6 Dec 2019 at 18:52, Gter Marcelo <infragter@gmail.com> wrote:
>> Are you using LDA/LMTP to deliver messages to the inbox?
Not use LDA in dovecot,  i'm running  Dovecot with protocols imap pop3 lmtp

One thing, curious in accounts with problem with quota : 

i deleting dovecot index and  ran one force-resync  and him crashed and return segmentation fault

I thought the same could happen with the quota, leaving the count incomplete

This is just a possibility that I think might be

Thanks a Lot
Marcelo 

On Fri, 6 Dec 2019 at 08:39, Alex JOST via dovecot <dovecot@dovecot.org> wrote:
Am 05.12.2019 um 14:51 schrieb Gter Marcelo via dovecot:
> Hi Dear,
>
> I running the command bellow and quota fix for some hours, but after 4 ou 5
> hours de quota back return the % wrong.
>
> Same after 100% the size in MAILDIR quota return 45% used only again.

Are you using LDA/LMTP to deliver messages to the inbox?

--
Alex JOST