Re: Problem With Quota Dovecot

2019-12-09 Thread Gter Marcelo via dovecot
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  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 
> 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
>>
>


Re: Problem With Quota Dovecot

2019-12-06 Thread Gter Marcelo via dovecot
>> 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 
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
>


Re: Problem With Quota Dovecot

2019-12-05 Thread 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.

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  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 ?
>


Problem With Quota Dovecot

2019-12-02 Thread Gter Marcelo via dovecot
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 ?


Changes in sieve Dovecot 2.2

2019-05-29 Thread Gter Marcelo via dovecot
Hi People,

I'm use dovecot in my mailbox system, until last month i used the dovecot
version 2.0 and now i use version 2.2, version 2.2 works well for me, but i
have one small problem, in sieve.

In version 2.0 i had rules in sieve similiar to rule bellow:

 if allof (true){
  keep;
  fileinto "INBOX";
  redirect "xx"xx.com.br";
  stop;
  }

In the new version 2.2 this rules above, i have one problem duplicate
messages in account from my clients, in paste INBOX, therefore, i changed
rule to bellow ( with remove fileinto inbox)

 if allof (true){
  keep;
  redirect "xx"xx.com.br";
  stop;
  }

Dovecot really changed your behavor, i did right to fix this ?

Thanks a Lot,
Marcelo