On 25. Jan 2025, at 15.13, Andreas via dovecot <dovecot@dovecot.org> wrote:
> 
> I've converted most of my config to 2.4.0, but one thing I don't get from the 
> docs:
> 
> ```
> mail_plugins = $mail_plugins quota
> 
> protocol imap {
>  mail_plugins = $mail_plugins imap_quota
> }
> 
> plugin {
>  quota = maildir:User quota:noenforcing
>  quota_rule = *:storage=7GB
>  quota_rule2 = Trash:storage=+10%%
> }
> ```

mail_plugins {
  quota = yes
}
protocol imap {
  mail_plugins {
    imap_quota = yes
  }
}
quota "User quota" {
  driver = maildir
  enforce = no
  storage_size = 7 GB
}
namespace inbox {
  mailbox Trash {
    quota_storage_percentage = 110
  }
}

Although since the quota isn't enforced, I don't see the point of having the 
Trash rule.
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to