Incremental purge?

Jesus Cea jcea at jcea.es
Mon Aug 24 08:30:29 EEST 2020


On 24/8/20 7:12, Fabien KOCIK wrote:
> First, extract user list using doveadm users '*'.
> Then process this list to fit your needs (seven parts for a week and a
> part processed by week day for example).
> Finally, use -u option of doveadm purge into a loop.

This is a good idea for installations with tons of users. Good point.

I would be personally interested in incremental purge per user. My
personal IMAP account, for instance, has at this moment about 40GB of
mdbox files. I keep most of my email for decades, but sure I could free
some space doing a purge, but I am scared of trying with 200.000 mdbox
files without knowing how long it would take.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - https://www.jcea.es/    _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://dovecot.org/pipermail/dovecot/attachments/20200824/ae03cd32/attachment-0001.sig>


More information about the dovecot mailing list