[Dovecot] Catch22: user needs space to fix out of space condition

Karsten Becker karsten.becker at ecologic.eu
Thu Aug 25 14:43:41 EEST 2011


On 08/25/2011 07:38 AM, Timo Sirainen wrote:
> On 25.8.2011, at 5.12, David Warden wrote:
> 
>> In your mail_location you can specify a different control and index directory as a place where the user has no quotas. I'm not quite sure which it is (control or index) that says where the dotlock file goes but it should be one of them.
> 
> Nope, dotlocks go to exactly where the mbox file is, never elsewhere (otherwise using Dovecot with non-Dovecot software could cause corruption). fcntl locks is the only solution.
> 

Quota rule (conf.d/90-quota.conf)?

> plugin {
>   # 10 GByte in kbytes
>   quota_rule = *:storage=10485760
> 
>   # 1 GByte in kbytes
>   quota_rule2 = Trash:storage=+1048576
> }

So you have a quota of 10GB on the mailbox, but the Trash has an
additional space of 1GB for the abilioty to delete mails.

Regards
Karsten





More information about the dovecot mailing list