[Dovecot] quota: ignore deleted messages (?)

Robert Schetterer robert at schetterer.org
Fri Aug 24 16:41:57 EEST 2012


Am 24.08.2012 15:13, schrieb Sven Hartge:
> Timo Sirainen <tss at iki.fi> wrote:
>> On 24.8.2012, at 15.02, Sven Hartge wrote:
> 
>>> Ignoring the content (or increasing the quota) of the Trash folder is
>>> easy and no problem, but ignoring deleted messages seems impossible
>>> without changes to the code.
>> ..
>>> So I propose an additional flag for the quota_rule config option to be
>>> able to enable a more lax interpretation of the quota enforcement:
>>>
>>>  quota_rule = *:storage=1G:ignoredeleted
>>>  quota_rule2 = Trash:storage=+100M
> 
>> This can't be implemented race-condition-free without huge changes to code.
> 
> Damn, too bad.
> 
> I know for sure either my users or my 1st level support team are going
> to kill me if I don't find a solution.
> 
> Is is possible to forcibly expunge a message at once, directly after a
> client has marked it as deleted? Kind of the opposite of the
> lazy_expunge plugin?
> 
> Grüße,
> Sven.
> 

hm perhaps as workaround

http://wiki2.dovecot.org/Plugins/deleted-to-trash
and do often
http://wiki2.dovecot.org/Plugins/Expire
via cron i.e
doveadm expunge -A mailbox Trash savedbefore 1h

-- 
Best Regards
MfG Robert Schetterer


More information about the dovecot mailing list