Hi,
hope someone can help also if this problem is difficult to debug
I have a mail account that has on file system 32GB however quotacalculation gives a higher value 41262146
I've already tried to:
doveadm quota recalc -u user@domain
removing maildirsize from /users/vmail/domain/user/Maildir
checking all emails messages if they have the size in the name (S=xxxx) different from the real size. I used the script here in attach giving it in input the output of << find /users/vmail/domain/user -name *S=* -type f>>
I don't have mail compression
the mail account have a lot of mailboxes and at now 78319 messages
doveadm quota get -u user@domain
Quota name Type Value
Limit
%
User quota STORAGE 41262146
42991616
95
User quota MESSAGE 78319
0
this is the same command run with -Dv
doveadm(root): Debug: Loading modules from directory: /usr/lib64/dovecot
doveadm(root): Debug: Module loaded:
/usr/lib64/dovecot/lib10_quota_plugin.so
doveadm(root): Debug: Loading modules from directory:
/usr/lib64/dovecot/doveadm
doveadm(root): Debug: Skipping module doveadm_acl_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib10_doveadm_acl_plugin.so:
undefined symbol: acl_user_module (this is usually intentional, so just
ignore this message)
doveadm(root): Debug: Skipping module doveadm_expire_plugin, because
dlopen() failed:
/usr/lib64/dovecot/doveadm/lib10_doveadm_expire_plugin.so: undefined
symbol: expire_set_deinit (this is usually intentional, so just ignore
this message)
doveadm(root): Debug: Module loaded:
/usr/lib64/dovecot/doveadm/lib10_doveadm_quota_plugin.so
doveadm(root): Debug: Module loaded:
/usr/lib64/dovecot/doveadm/lib10_doveadm_sieve_plugin.so
doveadm(root): Debug: Skipping module doveadm_fts_lucene_plugin, because
dlopen() failed:
/usr/lib64/dovecot/doveadm/lib20_doveadm_fts_lucene_plugin.so: undefined
symbol: lucene_index_iter_deinit (this is usually intentional, so just
ignore this message)
doveadm(root): Debug: Skipping module doveadm_fts_plugin, because
dlopen() failed: /usr/lib64/dovecot/doveadm/lib20_doveadm_fts_plugin.so:
undefined symbol: fts_backend_rescan (this is usually intentional, so
just ignore this message)
doveadm(user@domain): Debug: Added userdb setting:
mail_location=maildir:/users/vmail/domain/user/Maildir
doveadm(user@domain): Debug: Added userdb setting:
plugin/quota_rule=*:storage=41G
doveadm(user@domain): Debug: Effective uid=5000, gid=5000,
home=/users/vmail/domain/user
doveadm(user@domain): Debug: Quota root: name=User quota backend=maildir
args=
doveadm(user@domain): Debug: Quota rule: root=User quota mailbox=*
bytes=44023414784 messages=0
doveadm(user@domain): Debug: Quota warning: bytes=41822244044 (95%)
messages=0 reverse=no command=quota-warning 95 user@domain
doveadm(user@domain): Debug: Quota grace: root=User quota bytes=20971520
doveadm(user@domain): Debug: Namespace inbox: type=private, prefix=,
sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes
location=maildir:/users/vmail/domain/user/Maildir
doveadm(user@domain): Debug: maildir++:
root=/users/vmail/domain/user/Maildir, index=, indexpvt=, control=,
inbox=/users/vmail/domain/user/Maildir, alt=
Quota name Type Value Limit
%
User quota STORAGE 41202926 42991616
95
User quota MESSAGE 78247 -
hope someone can help
I'm running dovecot-2.2.10-5.el7 on centos7