Hi,
the quota, reported by dovecot, will be the same before/after
compression because dovecot calculate the quota based on the "original"
size of the message, that is (should be) present in the name of the
maildir file.
Also, index file does not need to be updated, I did this several years
ago with a script I made and everything worked fine.
Ciao
Il 17/04/23 15:23, Jose David Bravo A ha scritto:
Hello,
I would like to compress the maildir of some of our users, I'm
thinking to use this script:
https://github.com/George-NG/dovecot-maildir-compress/blob/master/dovecot-maildir-compress
My question is, how dovecot will calculate the quota for that user
after the compression? will dovecot calculate the quota of that user
using the real size of the message file after compression, or the
plain size before compression?
Is it necessary to recreate the index of that maildir after the
compression is made? If so, what command should I use?
Thank you!
Jose Bravo
_______________________________________________
dovecot mailing list --dovecot@dovecot.org
To unsubscribe send an email todovecot-le...@dovecot.org
--
Alessio Cecchi
Postmaster @http://www.qboxmail.it
https://www.linkedin.com/in/alessice
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org