Howto get information about quota used
Hello guys!
I have Dovecot server (version: 2.2.9) with quota and imap_quota plugins.
I wanna know how to get information about quota used of current email.
I can do this with IMAP client like Thunderbird, but how I can do it on server?
doveconf -n | grep quota mail_plugins = quota, antispam quota = maildir:User quota_exceeded_message = Message quota_rule = *:storage=100M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u quota_warning3 = -storage=100%% quota-warning below %u service quota-warning { executable = /usr/local/bin/quota-warning.sh mail_plugins = quota imap_quota mail_plugins = quota sieve
For each mailboxes I use quota limits from MySQL.
С уважением, *Макаров Денис* *почта*: makarovdenis11@gmail.com <mailto:makarovdenis11@gmail.com>
Best regards, *Makarov Denis* *email*: makarovdenis11@gmail.com <mailto:makarovdenis11@gmail.com>
On 2015-12-29 02:06, Макаров Денис wrote:
Hello guys!
I have Dovecot server (version: 2.2.9) with quota and imap_quota plugins.
I wanna know how to get information about quota used of current email.
I can do this with IMAP client like Thunderbird, but how I can do it on server? ...
doveadm-quota(1) will be your friend in this situation:
,--[ doveadm quota get -u user@localhost.localdomain.org ]-- | Quota name Type Value Limit % | user STORAGE 959908 - 0 | user MESSAGE 166680 - 0 `--
Regards, Pascal
The trapper recommends today: deadbeef.1536318@localdomain.org
participants (2)
-
Pascal Volk
-
Макаров Денис