Hello, I would like to kindly ask, if there is some recommendation for dovecot 
quota configuration, to prevent quota-warning triggering when IMAP MOVE command 
is executed close to some thresholds.

Problem seems to be this:
Jun 10 11:08:20 srv1 dovecot[39677]: 
imap([email protected])<48726><0aCoCTQ3TC8KHgcC>: Debug: quota: Executing 
warning: quota-warning [email protected] (because bytes=3713971 -> 7301217 over 
limit 4096000)
Jun 10 11:08:20 srv1 dovecot[39677]: 
imap([email protected])<48726><0aCoCTQ3TC8KHgcC>: Debug: quota: Executing 
warning: quota-warning [email protected] (because bytes=7301217 -> 3713971 below 
limit 4096000)

So during any IMAP MOVE, which is copy-then-delete process, quota goes over and 
then below limit, triggering closest threshold.

Quota config:
  quota = count:User quota
  quota_vsizes = yes
  # default, we specific user limits via sql
  quota_rule = *:storage=0
  quota_grace = 50M
  quota_warning = storage=100%% quota-warning %u
  quota_warning2 = -storage=100%% quota-warning %u
  quota_warning3 = storage=90%% quota-warning %u
  quota_warning4 = storage=80%% quota-warning %u

Recommended fix does not seems to work (tried multiple namespaces):
quota_rule = Folder:storage=+100M

Dovecot version is 2.3.21.1

Thank you for any help with this.
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to