Dovecot calculating quota wrong or am I stupid?
I'm currently running 2.3.21 on this system and here's what I'm seeing (a bit cut down for excess):
# doveadm quota get -u emailuser@domain.net STORAGE 1052385 MESSAGE 2741
So the storage is roughly more than 1GB according to Dovecot. No change after quota recalc. But:
root@arrow:/home/username/imap/domain.net# du -sh emailuser 692M emailuser
There are no symlinks or anything like that. Quota config is pretty basic:
root@arrow:/etc/dovecot# cat conf.d/90-quota.conf #add quota to end of line in: #/etc/dovecot/conf/mail_plugins.conf, eg: #mail_plugins = $mail_plugins quota
#add imap_quota to end of line in: #/etc/dovecot/conf/imap_mail_plugins.conf, eg: #mail_plugins = $mail_plugins imap_quota
plugin { quota = maildir }
If anyone has advice I would greatly appreciate it.
I answered my own question. Sorry! It's that I'm using the zlib plugin with maildir. Though I welcome ideas for a smooth transition to a better quota system that won't demolish large servers as hard as dirsize would.
On 2024-05-20 17:07, jarland--- via dovecot wrote:
I'm currently running 2.3.21 on this system and here's what I'm seeing (a bit cut down for excess):
# doveadm quota get -u emailuser@domain.net STORAGE 1052385 MESSAGE 2741
So the storage is roughly more than 1GB according to Dovecot. No change after quota recalc. But:
root@arrow:/home/username/imap/domain.net# du -sh emailuser 692M emailuser
There are no symlinks or anything like that. Quota config is pretty basic:
root@arrow:/etc/dovecot# cat conf.d/90-quota.conf #add quota to end of line in: #/etc/dovecot/conf/mail_plugins.conf, eg: #mail_plugins = $mail_plugins quota
#add imap_quota to end of line in: #/etc/dovecot/conf/imap_mail_plugins.conf, eg: #mail_plugins = $mail_plugins imap_quota
plugin { quota = maildir }
If anyone has advice I would greatly appreciate it.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
participants (1)
-
jarland@mxroute.com