[Dovecot] force to recalculate quotadict

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Mar 8 13:12:52 EET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 8 Mar 2010, Pascal Volk wrote:

> You found 'something'? If not, have a look at:
> http://wiki.dovecot.org/Quota/Dict#Insert_used_quotas_to_the_new_table_after_upgrade_to_1.2.x

Oh, cool, so Dovecot does calculate the quota, if there is none in the 
database:

1) delete the quota of user $M
2) call

echo "x GETQUOTAROOT Inbox" | \
USER=$M /usr/sbin/dovecot --exec-mail imap

should do it.

Maybe, one needs to add

HOME=
MAIL=
sudo -u mail_user

Regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBS5Tbtr+Vh58GPL/cAQLFNAf/esUR5u0Fxe0+pZz2+jyyOME6RU3FuZu2
R7w+8SbgpDUimLUu6/z4RXhhO8058/RA+LsPHJvkyEs7pmpGY9JfVJ9Q/pGpTOrW
SzJRcVOUDGwIqUwd9H/mVWW5Nlsp1/hCogwiBhtD/US1GLTka2DRk3G+J2FU7V0b
trvoZgPfCSwOYHGAWMMC3J98QCborDrkz55LdcRf8LkTZd4PzlSIRNft0Gqh8AN5
9TRN6urInKd6Ik/Cj9fvoh5mdoug/usalSn0b4VtSYFJocBwp3leD9GBIMFfHg8U
BwOoWFHoNXlappOqRkhNYWDixWDbjpLn4m5QwDIeSC0byFA3edzpRw==
=qx4c
-----END PGP SIGNATURE-----


More information about the dovecot mailing list