Hello; We are using maildir quotas and have found differences in many users in respect to what system command are showing and doveadm quotas. For example, four user test, we have: doveadm quota get -u test Quota name Type Value Limit % STORAGE 98066 102400 95 MESSAGE 883 - 0 But if we check user mail_location with "du" system command we get he is using 70458 Kb. We are running dovecot 2.1.17 ?any clue? Thanks in advance.
An addition. It might be related to a recent upgrade from 2.0 branch to 2.1.17 Thanks in advance. El 27/02/2014 14:12, Juan Carlos Sanchez escribi?:> Hello; > > We are using maildir quotas and have found differences in many users > in respect to what system command are showing and doveadm quotas. > > For example, four user test, we have: > > doveadm quota get -u test > Quota name Type Value > Limit % > STORAGE 98066 > 102400 95 > MESSAGE 883 > - 0 > > But if we check user mail_location with "du" system command we get he > is using 70458 Kb. > > We are running dovecot 2.1.17 > > ?any clue? > > Thanks in advance. >-- ------------------------------------------------------ Juan Carlos Sanchez Hernandez Responsable de Seguridad y Correo Electronico Servicio de Planificacion Informatica y Comunicaciones Universidad Politecnica de Madrid Rectorado Avda. Ramiro de Maeztu 7 28040 Madrid ------------------------------------------------------
On Thu Feb 27 14:12:19 2014, Juan Carlos Sanchez wrote:> We are using maildir quotas and have found differences in many users > in respect to what system command are showing and doveadm quotas. > > For example, four user test, we have: > > doveadm quota get -u test > Quota name Type Value Limit > % > STORAGE 98066 102400 > 95 > MESSAGE 883 - > 0 > > But if we check user mail_location with "du" system command we get > he is using 70458 Kb. > > We are running dovecot 2.1.17 > > ?any clue?Please show us your doveconf -n. There are a lot of possibilities, it can even be correct (if you use dbox and the user makes lots of copies of his mails). Yours Jost Krieger -- | Jost.Krieger+sig at ruhr-uni-bochum.de Please help stamp out spam! | | Postmaster, JAPH, resident answer machine at RUB Comp. Center | | Sincere words are not sweet, sweet words are not sincere. | | Lao Tse, Tao Te King 81 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Juan Carlos Sanchez wrote:> Hello; > > We are using maildir quotas and have found differences in many > users in respect to what system command are showing and doveadm > quotas. > > For example, four user test, we have: > > doveadm quota get -u test Quota name Type Value Limit > % STORAGE 98066 102400 > 95 MESSAGE 883 - > 0 > > But if we check user mail_location with "du" system command we get > he is using 70458 Kb. > > We are running dovecot 2.1.17 > > ?any clue?Did you already tried: doveadm quota recalc -u user? Did you started "du" right in Maildir? Use: cd .../Maildir du -cs cur new .*/{cur,new} in order to count message files only. You do not seem to have activated the hardlink feature. If you did, you need to count each link, too. untested size in KB: find cur new .*/{cur,new} -type f -printf '%k\n' | \ awk ' END { print n } { n=n+$1 } ' - -- Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEVAwUBUw9kiHD1/YhP6VMHAQLh7Af/U4gqXDaE/9wJOdp/KvpIX9CvJIUPuX8L Is/iAS2U/vLbZgh2o26NIsOfd+4cr+uR1OIrtPeUjDkvxFL17qo4SaZf0Sn8TTX5 BVX2b2OG1M6k+cxRmt+mV3UeRAzvzSoKUIhXTju7QbwcIG/SL1w8pCyLrBPIK0w1 O7sPl+eR2cF9cvY5M1pmfb+CBc/p1djn2bkeOT4lZf8BjRSqTxUbNP7HXIT9743A vGBjCi7HsDSKHK4EaDlmtgsH3q9L5MtJQzL0ScDEcghzedhfsk4vf/96ipmhnfAQ dXuBgWrztaNyNKxpg0IkHWlA7nUS9IWLEz6EjHG17yxuI/jRhHEnLQ==9aHd -----END PGP SIGNATURE-----