Hello

Am 11.06.25 um 09:50 schrieb marekstefanka--- via dovecot:
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(b...@domain.com)<48726><0aCoCTQ3TC8KHgcC>: Debug: quota: Executing warning: 
quota-warning b...@domain.com (because bytes=3713971 -> 7301217 over limit 4096000)
Jun 10 11:08:20 srv1 dovecot[39677]: 
imap(b...@domain.com)<48726><0aCoCTQ3TC8KHgcC>: Debug: quota: Executing warning: 
quota-warning b...@domain.com (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


There is no way to prevent quota warnings in that situation!


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


This will only prevent, that your users are unable to delete emails (== copy to trash then delete) while at 100%.
It will not prevent the warning.


Kind regards,
Christian Mack
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to