[Dovecot] quota: ignore deleted messages (?)

Sven Hartge sven at svenhartge.de
Sat Aug 25 01:49:12 EEST 2012


Timo Sirainen <tss at iki.fi> wrote:
> On 24.8.2012, at 16.13, Sven Hartge wrote:

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

> How about just disabling the quota enforcing and doing a nightly run
> of some type of enforcing (sending notification email and/or disabling
> new mail delivery until user has more quota again)?

As a last resort, yes. If possible, I'd like to keep the feedback about
mailbox size as direct as possible.

Disabling an account only once per night might be acceptable, but the
reenabling of the account, once a user has freed some space, has to be
instant or I would get constant complains from the users (the ones with
the biggest mailboxes being the professors, which can be quite the pain
to work with, if they believe they don't get what they think they are
entitled to get).

I know, this all sounds a bit "whiny", but  I've been working for over 8
years in this position and the harsh reality made me somewhat cautious.

So far, the description of the delete_to_trash plugin sounds promising,
because I can already ignore the Trash (or add to the total quota for
this folder and do a nightly expunge run for it), if only it would
compile for dovecot 2.1.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.




More information about the dovecot mailing list