Re: can't get quota working. I use static userdb driver.

2017-09-08 Thread Вадим Бажов
Got it ! The issue is in the 'type = public' parameter. I removed it
from my namespace definition and quota got counted as expected !
Problem solved.

2017-09-01 21:34 GMT+05:00 Вадим Бажов :
> Hi, people !
> Set up global quota according to docs to 2 Mb.
> Send more than ten Mb on the box.
> Mail still getting put in the box, no bounces, no error messages in
> logs, nothing to prevent mail to be delivered in overflooded mailbox.
>
> quota settings are:
>
> mail_plugins = quota
> lmtp_rcpt_check_quota = yes
> quota_full_tempfail = yes
>
> protocol lmtp {
>   postmaster_address = postmaster # required
>   mail_plugins = $mail_plugins sieve
> }
>
> protocol lda {
>   mail_plugins = $mail_plugins sieve
> }
>
> protocol imap {
>   mail_plugins = $mail_plugins imap_quota
> }
>
> plugin {
>   quota = maildir:"User quota"
>   quota_rule = *:storage=10M
>   quota_rule3 = INBOX.Trash:storage=+10%%
>   quota_exceeded_message = "552 5.2.2 Mailbox is full"
> }
>
>
> doveconf -n is attached.
>
> # doveadm quota get
> Quota name   TypeValue Limit
>
>  %
> "User quota" STORAGE 0 10240
>
>  0
> "User quota" MESSAGE 0 -
>
> # doveadm quota get -u vadim
> Quota name   TypeValue Limit
>
>  %
> "User quota" STORAGE 0 10240
>
>  0
> "User quota" MESSAGE 0 -
>
> # du -sh /var/mail/vadim/
> 23M /var/mail/vadim/
>
> I tried to pass quota_rule as an argument to userdb, quota is being
> parsed, but still doesn't work.
>
> I think problem is that dovecot can't (re)calculate the actual quota
> on disc (cant calculate how disk space mailbox is used), despite the
> fact that quota limit itself is configured correctly, since dovecot
> shows it in log and doveconf -n.
>
> What I am dong wrong ?


Re: can't get quota working. I use static userdb driver.

2017-09-08 Thread Вадим Бажов
I found what causes quota not being working at all - namespace.
Whenever I declare a basic namespace :

namespace {
  type = public
  prefix = INBOX.
  separator = .
  inbox = yes
}

or even

namespace {
  type = public
  inbox = yes
}

Quota gets broken:

# doveadm quota recalc -u administrator; doveadm quota get -u administrator
Quota name TypeValue  Limit

 %
User quota STORAGE 0 10

 0
User quota MESSAGE 0  -

 0

When I get rid of any namespace declaration, quota gets work:

# doveadm quota recalc -u administrator; doveadm quota get -u administrator
Quota name TypeValue  Limit

 %
User quota STORAGE 19922 10

19
User quota MESSAGE 2  -

 0

Quota settings are simple:

plugin {
  quota = maildir
  quota_rule = *:bytes=10k
}

'count' quota engine works too as well.

But I need to declare and set up my own namespace (Spam and Sent
folders, subscriptions and autoexpunge stuff).
Any suggestions how to set quota within a specific namespace ?

2017-09-06 21:24 GMT+05:00 Вадим Бажов :
> Quotas not being counted with 'passwd-file' driver too. Thunderbird
> still doesn't show quota bar.
> It is mentioned to run passdb with '-d' parameter if quotas aren't
> working. Can you explain how to set it up. How to run passdb with '-d'
> parameter ? Any configuration file snippet ?
>
> 2017-09-06 21:20 GMT+05:00 Вадим Бажов :
>> Just tried 'count', 'fs' and 'dirsize' quota ackends. All the same.
>>
>> # doveadm quota recalc
>> # doveadm quota get -u vadim
>> Quota name TypeValue Limit
>>
>> %
>> User quota STORAGE 0 10240
>>
>> 0
>> User quota MESSAGE 0 -
>>
>> 0
>> # doveadm quota get
>> Quota name TypeValue Limit
>>
>> %
>> User quota STORAGE 0 10240
>>
>> 0
>> User quota MESSAGE 0 -
>>
>> It looks like quota_rule is interpreted but quota backend doesn't work
>> (cant count current quota state).
>>
>> I deleted all the mailboxes, then I divided CONTROL an INDEX dirs
>> apart from mailbox dir itself:
>> maildir:/var/spool/mail/%u:INDEX=/tmp/no-quotas/index/%u:CONTROL=/tmp/no-quotas/control/%u
>> Boxes were created with dovecot files for them under /tmp/no-quotas as
>> well, but no changes. quota value is always zero.
>> May be I should try MDBOX with all these quota backends, but, anyway,
>> I cant migrate to MDBOX yet, so it's not my choice.
>>
>> Any suggestions ? Does anyone has a working maldir quota installation
>> all around ?
>> Dovecot version is 2.2.27 (c0f36b0).
>>
>> Some other questions:
>> 1. Documentation says that quotas can work improperly if static userdb
>> driver is used.  I use static driver. Is it really a problem ? I tried
>> to return user quotas from my bash-script, it passes from bash to
>> dovecot during lmtp and auth processes succesfully. But no difference
>> with calculating quotas. Can I use something different from static
>> driver for userdb if I use external bash script for auth and lmtp ? (I
>> will try to change the driver...)
>> 2. It said that maildir quota backend count quotas using 'maildirsize'
>> files. I dont have such files inside box dirs. What should I tune in
>> order to create them by dovecot ?
>> 3. Found this in docs: "Dovecot can't currently handle not being able
>> to write the control files, so it will cause problems with filesystem
>> quota. To avoid problems with this, you should place control files
>> into a partition where quota isn't checked. You can specify this by
>> adding :CONTROL= to mail_location, for example:" - i tried to
>> put CONTROL and INDEX files in separate dir, but in the same dis
>> partition. Should I really change the disk partition ? What
>> 'filesystem quota' means here ? I dont use any disk quotas in my
>> system (centos 6.9).
>>
>> 2017-09-06 15:55 GMT+05:00 Alex JOST :
>>> Am 06.09.2017 um 12:17 schrieb Вадим Бажов:

 Thank you for your answers.
 I fixed config to:

 plugin {
sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
sieve_global = /mnt/rw_disc/dovecot/sieve/

quota = maildir:User
quota_rule = *:storage=10M
 #  quota_rule2 = INBOX.Trash:storage=+10%%
quota_max_mail_size = 3M
quota_exceeded_message = "552 5.2.2 Mailbox is full"
 }
>>>
>>>
>>> Have you tried using a different backend (e.g. dict & flat file)?
>>>
>>>
 The mail_location is actually maildir:/var/spool/mail/%u, mdbox was a
 misspelling (i tried migration from maildir to mdbox before).
>>>
>>>
>>> I'm wondering if this might be caused by using the same directory for home
>>> and mail?
>>>
>>> --
>>> Alex JOST


Re: can't get quota working. I use static userdb driver.

2017-09-06 Thread Вадим Бажов
Quotas not being counted with 'passwd-file' driver too. Thunderbird
still doesn't show quota bar.
It is mentioned to run passdb with '-d' parameter if quotas aren't
working. Can you explain how to set it up. How to run passdb with '-d'
parameter ? Any configuration file snippet ?

2017-09-06 21:20 GMT+05:00 Вадим Бажов :
> Just tried 'count', 'fs' and 'dirsize' quota ackends. All the same.
>
> # doveadm quota recalc
> # doveadm quota get -u vadim
> Quota name TypeValue Limit
>
> %
> User quota STORAGE 0 10240
>
> 0
> User quota MESSAGE 0 -
>
> 0
> # doveadm quota get
> Quota name TypeValue Limit
>
> %
> User quota STORAGE 0 10240
>
> 0
> User quota MESSAGE 0 -
>
> It looks like quota_rule is interpreted but quota backend doesn't work
> (cant count current quota state).
>
> I deleted all the mailboxes, then I divided CONTROL an INDEX dirs
> apart from mailbox dir itself:
> maildir:/var/spool/mail/%u:INDEX=/tmp/no-quotas/index/%u:CONTROL=/tmp/no-quotas/control/%u
> Boxes were created with dovecot files for them under /tmp/no-quotas as
> well, but no changes. quota value is always zero.
> May be I should try MDBOX with all these quota backends, but, anyway,
> I cant migrate to MDBOX yet, so it's not my choice.
>
> Any suggestions ? Does anyone has a working maldir quota installation
> all around ?
> Dovecot version is 2.2.27 (c0f36b0).
>
> Some other questions:
> 1. Documentation says that quotas can work improperly if static userdb
> driver is used.  I use static driver. Is it really a problem ? I tried
> to return user quotas from my bash-script, it passes from bash to
> dovecot during lmtp and auth processes succesfully. But no difference
> with calculating quotas. Can I use something different from static
> driver for userdb if I use external bash script for auth and lmtp ? (I
> will try to change the driver...)
> 2. It said that maildir quota backend count quotas using 'maildirsize'
> files. I dont have such files inside box dirs. What should I tune in
> order to create them by dovecot ?
> 3. Found this in docs: "Dovecot can't currently handle not being able
> to write the control files, so it will cause problems with filesystem
> quota. To avoid problems with this, you should place control files
> into a partition where quota isn't checked. You can specify this by
> adding :CONTROL= to mail_location, for example:" - i tried to
> put CONTROL and INDEX files in separate dir, but in the same dis
> partition. Should I really change the disk partition ? What
> 'filesystem quota' means here ? I dont use any disk quotas in my
> system (centos 6.9).
>
> 2017-09-06 15:55 GMT+05:00 Alex JOST :
>> Am 06.09.2017 um 12:17 schrieb Вадим Бажов:
>>>
>>> Thank you for your answers.
>>> I fixed config to:
>>>
>>> plugin {
>>>sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
>>>sieve_global = /mnt/rw_disc/dovecot/sieve/
>>>
>>>quota = maildir:User
>>>quota_rule = *:storage=10M
>>> #  quota_rule2 = INBOX.Trash:storage=+10%%
>>>quota_max_mail_size = 3M
>>>quota_exceeded_message = "552 5.2.2 Mailbox is full"
>>> }
>>
>>
>> Have you tried using a different backend (e.g. dict & flat file)?
>>
>>
>>> The mail_location is actually maildir:/var/spool/mail/%u, mdbox was a
>>> misspelling (i tried migration from maildir to mdbox before).
>>
>>
>> I'm wondering if this might be caused by using the same directory for home
>> and mail?
>>
>> --
>> Alex JOST


Re: can't get quota working. I use static userdb driver.

2017-09-06 Thread Вадим Бажов
Just tried 'count', 'fs' and 'dirsize' quota ackends. All the same.

# doveadm quota recalc
# doveadm quota get -u vadim
Quota name TypeValue Limit

%
User quota STORAGE 0 10240

0
User quota MESSAGE 0 -

0
# doveadm quota get
Quota name TypeValue Limit

%
User quota STORAGE 0 10240

0
User quota MESSAGE 0 -

It looks like quota_rule is interpreted but quota backend doesn't work
(cant count current quota state).

I deleted all the mailboxes, then I divided CONTROL an INDEX dirs
apart from mailbox dir itself:
maildir:/var/spool/mail/%u:INDEX=/tmp/no-quotas/index/%u:CONTROL=/tmp/no-quotas/control/%u
Boxes were created with dovecot files for them under /tmp/no-quotas as
well, but no changes. quota value is always zero.
May be I should try MDBOX with all these quota backends, but, anyway,
I cant migrate to MDBOX yet, so it's not my choice.

Any suggestions ? Does anyone has a working maldir quota installation
all around ?
Dovecot version is 2.2.27 (c0f36b0).

Some other questions:
1. Documentation says that quotas can work improperly if static userdb
driver is used.  I use static driver. Is it really a problem ? I tried
to return user quotas from my bash-script, it passes from bash to
dovecot during lmtp and auth processes succesfully. But no difference
with calculating quotas. Can I use something different from static
driver for userdb if I use external bash script for auth and lmtp ? (I
will try to change the driver...)
2. It said that maildir quota backend count quotas using 'maildirsize'
files. I dont have such files inside box dirs. What should I tune in
order to create them by dovecot ?
3. Found this in docs: "Dovecot can't currently handle not being able
to write the control files, so it will cause problems with filesystem
quota. To avoid problems with this, you should place control files
into a partition where quota isn't checked. You can specify this by
adding :CONTROL= to mail_location, for example:" - i tried to
put CONTROL and INDEX files in separate dir, but in the same dis
partition. Should I really change the disk partition ? What
'filesystem quota' means here ? I dont use any disk quotas in my
system (centos 6.9).

2017-09-06 15:55 GMT+05:00 Alex JOST :
> Am 06.09.2017 um 12:17 schrieb Вадим Бажов:
>>
>> Thank you for your answers.
>> I fixed config to:
>>
>> plugin {
>>sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
>>sieve_global = /mnt/rw_disc/dovecot/sieve/
>>
>>quota = maildir:User
>>quota_rule = *:storage=10M
>> #  quota_rule2 = INBOX.Trash:storage=+10%%
>>quota_max_mail_size = 3M
>>quota_exceeded_message = "552 5.2.2 Mailbox is full"
>> }
>
>
> Have you tried using a different backend (e.g. dict & flat file)?
>
>
>> The mail_location is actually maildir:/var/spool/mail/%u, mdbox was a
>> misspelling (i tried migration from maildir to mdbox before).
>
>
> I'm wondering if this might be caused by using the same directory for home
> and mail?
>
> --
> Alex JOST


Re: can't get quota working. I use static userdb driver.

2017-09-06 Thread Alex JOST

Am 06.09.2017 um 12:17 schrieb Вадим Бажов:

Thank you for your answers.
I fixed config to:

plugin {
   sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
   sieve_global = /mnt/rw_disc/dovecot/sieve/

   quota = maildir:User
   quota_rule = *:storage=10M
#  quota_rule2 = INBOX.Trash:storage=+10%%
   quota_max_mail_size = 3M
   quota_exceeded_message = "552 5.2.2 Mailbox is full"
}


Have you tried using a different backend (e.g. dict & flat file)?



The mail_location is actually maildir:/var/spool/mail/%u, mdbox was a
misspelling (i tried migration from maildir to mdbox before).


I'm wondering if this might be caused by using the same directory for 
home and mail?


--
Alex JOST


Re: can't get quota working. I use static userdb driver.

2017-09-06 Thread Вадим Бажов
Thank you for your answers.
I fixed config to:

plugin {
  sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
  sieve_global = /mnt/rw_disc/dovecot/sieve/

  quota = maildir:User
  quota_rule = *:storage=10M
#  quota_rule2 = INBOX.Trash:storage=+10%%
  quota_max_mail_size = 3M
  quota_exceeded_message = "552 5.2.2 Mailbox is full"
}

The mail_location is actually maildir:/var/spool/mail/%u, mdbox was a
misspelling (i tried migration from maildir to mdbox before).
I've deleted mailboxes from file system. Dovecot created them again on
login. I sent some mails to get over 10Mb in both mailboxes.

Quota still cant'be calculated.

# doveadm quota recalc -u vadim
# doveadm quota get -u vadim
Quota name TypeValue Limit

%
User   STORAGE 0 10240

0
User   MESSAGE 0 -

# du -sh /var/mail/vadim/
14M /var/mail/vadim/

doveconf -n is in attachement.

Thunderbird has a quota plugin and shows quota on the box from my
corporate mailbox and doesn't show quota on my testing installation at
all. Screenshots are attached too.


2017-09-05 13:49 GMT+05:00 Aki Tuomi :
>
>
> On 05.09.2017 11:28, Steffen Kaiser wrote:
>> On Fri, 1 Sep 2017, Вадим Бажов wrote:
>>
>> > plugin {
>> >  quota = maildir:"User quota"
>> >  quota_rule = *:storage=10M
>> >  quota_rule3 = INBOX.Trash:storage=+10%%
>> ^^ this should spell quota_rule2
>> but is not the issue right now
>>
>
> actually dovecot probably stops looking after it fails to see quota_rule2.
>
> Aki
# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 2.6.32-696.6.3.ics.x86_64 x86_64 Ideco ICS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login cram-md5
auth_verbose = yes
auth_verbose_passwords = yes
listen = 169.254.252.252
lmtp_rcpt_check_quota = yes
login_trusted_networks = 127.0.0.1
mail_debug = yes
mail_location = maildir:/var/spool/mail/%u
mail_plugins = quota
maildir_very_dirty_syncs = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date index ihave duplicate 
mime foreverypart extracttext
namespace {
  inbox = yes
  location = 
  mailbox Drafts {
auto = subscribe
special_use = \Drafts
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox Spam {
auto = subscribe
autoexpunge = 1 days
special_use = \Junk
  }
  mailbox Trash {
auto = subscribe
autoexpunge = 1 days
special_use = \Trash
  }
  prefix = INBOX.
  separator = .
  type = public
}
passdb {
  args = /usr/bin/dovecot-firebird-auth-handler.sh =%r =%u =%w
  driver = checkpassword
}
plugin {
  quota = maildir:User
  quota_exceeded_message = 552 5.2.2 Mailbox is full
  quota_max_mail_size = 3M
  quota_rule = *:storage=10M
  sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
  sieve_global = /mnt/rw_disc/dovecot/sieve/
}
quota_full_tempfail = yes
service auth {
  group = 
  user = 
}
service imap-login {
  inet_listener imap-roundcube {
address = 127.0.0.1
port = 144
  }
  inet_listener imap {
address = 0.0.0.0
port = 143
  }
  inet_listener imaps {
port = 0
  }
}
service pop3-login {
  inet_listener pop3 {
address = 0.0.0.0
port = 110
  }
  inet_listener pop3s {
address = 0.0.0.0
port = 995
  }
}
ssl_cert = 

Re: can't get quota working. I use static userdb driver.

2017-09-05 Thread Aki Tuomi


On 05.09.2017 11:28, Steffen Kaiser wrote:
> On Fri, 1 Sep 2017, Вадим Бажов wrote:
>
> > plugin {
> >  quota = maildir:"User quota"
> >  quota_rule = *:storage=10M
> >  quota_rule3 = INBOX.Trash:storage=+10%%
> ^^ this should spell quota_rule2
> but is not the issue right now
>

actually dovecot probably stops looking after it fails to see quota_rule2.

Aki


Re: can't get quota working. I use static userdb driver.

2017-09-05 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 1 Sep 2017, Вадим Бажов wrote:


plugin {
 quota = maildir:"User quota"
 quota_rule = *:storage=10M
 quota_rule3 = INBOX.Trash:storage=+10%%

^^ this should spell quota_rule2
but is not the issue right now


 quota_exceeded_message = "552 5.2.2 Mailbox is full"
}


doveconf -n is attached.

# doveadm quota get
Quota name   TypeValue Limit %
"User quota" STORAGE 0 10240 0
"User quota" MESSAGE 0 -



# doveadm quota get -u vadim
Quota name   TypeValue Limit %
"User quota" STORAGE 0 10240 0
"User quota" MESSAGE 0 -


This looks like the userdb is setting the correct data, because the number 
matches your config.


Try doveadm quota recalc -u vadim

if you get sensible current values or errors.


I think problem is that dovecot can't (re)calculate the actual quota
on disc (cant calculate how disk space mailbox is used), despite the
fact that quota limit itself is configured correctly, since dovecot
shows it in log and doveconf -n.


If vadim got flooded with messages, the question is, why storage's value 
is "0". It might be wrong, but not 0. How do you deliver the messages?


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBWa5gH3z1H7kL/d9rAQJ7VggArquitNsVYlxw/d3Qwrz4i/g9lL26lRrL
aJ6W3CLExaJ7pBJ4X7Clt5jokbiF7BLLgqHsM3i+DW5L/HSkgBPB0mFhf/g/gmYs
SO8csYcxjSNjKAXrfYKZhywZ7QELzBIgPtcGkzDzS0LPRumGz6bKsmm4SNN5pbOF
yjujYC3HUhSN79L+XhvpO52h7ukk1ST1+5u68dUk9KbpzRr4jWKFZqz0Ey6NiazP
sb/qKt0sCiinPkk/G9gOuIgh1r/M0kirLDf0GI04Vj8v3j6HD6+NG63dRAoEpCJ/
TaNOzQCHp6AzmvRcH0I8N+E0seoVU3AF7NabBGZxFZ5AmWrk8oYKcw==
=wLq2
-END PGP SIGNATURE-


can't get quota working. I use static userdb driver.

2017-09-01 Thread Вадим Бажов
Hi, people !
Set up global quota according to docs to 2 Mb.
Send more than ten Mb on the box.
Mail still getting put in the box, no bounces, no error messages in
logs, nothing to prevent mail to be delivered in overflooded mailbox.

quota settings are:

mail_plugins = quota
lmtp_rcpt_check_quota = yes
quota_full_tempfail = yes

protocol lmtp {
  postmaster_address = postmaster # required
  mail_plugins = $mail_plugins sieve
}

protocol lda {
  mail_plugins = $mail_plugins sieve
}

protocol imap {
  mail_plugins = $mail_plugins imap_quota
}

plugin {
  quota = maildir:"User quota"
  quota_rule = *:storage=10M
  quota_rule3 = INBOX.Trash:storage=+10%%
  quota_exceeded_message = "552 5.2.2 Mailbox is full"
}


doveconf -n is attached.

# doveadm quota get
Quota name   TypeValue Limit

 %
"User quota" STORAGE 0 10240

 0
"User quota" MESSAGE 0 -

# doveadm quota get -u vadim
Quota name   TypeValue Limit

 %
"User quota" STORAGE 0 10240

 0
"User quota" MESSAGE 0 -

# du -sh /var/mail/vadim/
23M /var/mail/vadim/

I tried to pass quota_rule as an argument to userdb, quota is being
parsed, but still doesn't work.

I think problem is that dovecot can't (re)calculate the actual quota
on disc (cant calculate how disk space mailbox is used), despite the
fact that quota limit itself is configured correctly, since dovecot
shows it in log and doveconf -n.

What I am dong wrong ?


dove.conf
Description: Binary data
Sep  1 21:28:37.666390 info dovecot: imap(Administrator): Connection closed (IDLE running for 0.001 + waiting input for 0.001 secs, 2 B in + 10+10 B out, state=wait-input) in=826 out=3307
Sep  1 21:28:37.667477 debug dovecot: auth: Debug: checkpassword(vadim@vadim.local): Received input: user=vadim	userdb_home=/var/spool/mail/vadim/	password={PLAIN}vadim	userdb_uid=imap	userdb_gid=mail	
Sep  1 21:28:37.668861 debug dovecot: auth: Debug: checkpassword(vadim@vadim.local): exit_status=2
Sep  1 21:28:37.668875 debug dovecot: auth: Debug: checkpassword(vadim@vadim.local): username changed vadim@vadim.local -> vadim
Sep  1 21:28:37.668878 debug dovecot: auth: Debug: checkpassword(vadim): Credentials: 766164696d
Sep  1 21:28:37.668881 debug dovecot: auth: Debug: userdb out: USER	4	vadim	home=/var/spool/mail/vadim/	uid=504	gid=12
Sep  1 21:28:37.668884 debug dovecot: lmtp(vadim@vadim.local): Debug: auth USER input: vadim home=/var/spool/mail/vadim/ uid=504 gid=12
Sep  1 21:28:37.668886 debug dovecot: lmtp(vadim@vadim.local): Debug: changed username to vadim
Sep  1 21:28:37.668889 debug dovecot: lmtp(21650): Debug: Effective uid=504, gid=12, home=/var/spool/mail/vadim/
Sep  1 21:28:37.668891 debug dovecot: lmtp(21650): Debug: Quota root: name="User quota" backend=maildir args=
Sep  1 21:28:37.668893 debug dovecot: lmtp(21650): Debug: Quota rule: root="User quota" mailbox=* bytes=10485760 messages=0
Sep  1 21:28:37.668896 debug dovecot: lmtp(21650): Debug: Quota grace: root="User quota" bytes=1048576 (10%)
Sep  1 21:28:37.668898 debug dovecot: lmtp(21650): Debug: Namespace : type=public, prefix=INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:/var/spool/mail/vadim
Sep  1 21:28:37.668930 debug dovecot: lmtp(21650): Debug: fs: root=/var/spool/mail/vadim, index=, indexpvt=, control=, inbox=, alt=
Sep  1 21:28:37.668934 debug dovecot: lmtp(21650): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Sep  1 21:28:37.668937 debug dovecot: lmtp(21650): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt=
Sep  1 21:28:37.668939 debug dovecot: lmtp(21650): Debug: quota: quota_over_flag check: STORAGE ret=1 value=0 limit=10240
Sep  1 21:28:37.668942 debug dovecot: lmtp(21650): Debug: quota: quota_over_flag check: MESSAGE ret=0 value=0 limit=0
Sep  1 21:28:37.668944 debug dovecot: lmtp(21650): Debug: quota: quota_over_flag=0((null)) vs currently overquota=0
Sep  1 21:28:37.669965 debug dovecot: lmtp(21650, vadim): Debug: Effective uid=504, gid=12, home=/var/spool/mail/vadim/
Sep  1 21:28:37.669974 debug dovecot: lmtp(21650, vadim): Debug: Quota root: name="User quota" backend=maildir args=
Sep  1 21:28:37.669977 debug dovecot: lmtp(21650, vadim): Debug: Quota rule: root="User quota" mailbox=* bytes=10485760 messages=0
Sep  1 21:28:37.669979 debug dovecot: lmtp(21650, vadim): Debug: Quota grace: root="User quota" bytes=1048576 (10%)
Sep  1 21:28:37.669982 debug dovecot: lmtp(21650, vadim): Debug: Namespace : type=public, prefix=INBOX., sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=mdbox:/var/spool/mail/vadim
Sep  1 21:28:37.669984 debug dovecot: lmtp(21650, vadim): Debug: fs: root=/var/spool/mail/vadim, index=, indexpvt=, control=, inbox=, alt=
Sep  1 21:28:37.669987 debug dovecot: lmtp(21650, vadim): Debug: Namespace : type=private, prefix=, sep=, inbox=no, hidden=yes, list=no, subscriptions=no location=fail::LAYOUT=none
Sep  1 21:28:37.66