Problem With Quota Dovecot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem With Quota Dovecot

Dovecot mailing list
Hi Dears, 

I have one problem with Dovecot in My mailserver. 

Dovecot Quota setting is not working fine.

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

For example if i put the limit in 1GB, i have accounts in my mailbox with size of maildir in 3gb,4gb for exemple and if i running the command 

doveadm quota get -u ACCOUNT_MY_USER

The user with 2GB should be return 100% or some number bigger , but return 45% used only, 

If i force running one force-resync, the quota-get return the size correct showing more  than 100%

Someone can Help me ? 
Reply | Threaded
Open this post in threaded view
|

Re: Problem With Quota Dovecot

Dovecot mailing list
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.

doveadm deduplicate -u USERMAIL mailbox INBOX all
Someone can help Me?

Thanks a lot 
Marcelo 

On Mon, 2 Dec 2019 at 17:52, Gter Marcelo <[hidden email]> wrote:
Hi Dears, 

I have one problem with Dovecot in My mailserver. 

Dovecot Quota setting is not working fine.

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

For example if i put the limit in 1GB, i have accounts in my mailbox with size of maildir in 3gb,4gb for exemple and if i running the command 

doveadm quota get -u ACCOUNT_MY_USER

The user with 2GB should be return 100% or some number bigger , but return 45% used only, 

If i force running one force-resync, the quota-get return the size correct showing more  than 100%

Someone can Help me ? 
Reply | Threaded
Open this post in threaded view
|

Re: Problem With Quota Dovecot

Dovecot mailing list
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
Reply | Threaded
Open this post in threaded view
|

Re: Problem With Quota Dovecot

Dovecot mailing list
>> 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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Problem With Quota Dovecot

Dovecot mailing list
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 <[hidden email]> 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 <[hidden email]> 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