> On 30/12/2025 13:05 EET James via dovecot <[email protected]> wrote: > > > New for 2.4 is quota_mailbox_message_count. I have set limits for: > quota_storage_size > quota_message_count > quota_mailbox_message_count > Defaults in dovecot.conf and per user value from userdb sql. These are > working proved by the rejection of test messages. > > > 1. To monitor users' quotas one can run: > doveadm quota get -A > > This lists values for Types STORAGE and MESSAGE. Is there a way to list > mailbox_message_count values? It is per mailbox so might need a mailbox > option on doveadm. doveadm-quota(1) shows -A and -u. > > > > 2. How does one send quota warning messages when > quota_mailbox_message_count crosses thresholds? > > The documentation [1] has examples for quota_storage_size and > quota_message_count but not quota_mailbox_message_count. I am missing > quota_mailbox_message_percentage. > > >
At the moment it's not possible, as it has not been considered similarly as other quota rules. Currently the best way is to count the number of mailboxes in private namespace with e.g. doveadm mailbox list. Aki _______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]
