mdbox "doveadm purge" strategy

Jesus Cea jcea at jcea.es
Sun Jul 27 23:23:31 UTC 2014


Hi there.

I am using mdbox storage with great success but I am seeing something I
find strange and I would like to compare notes with you.

When doing "doveadm purge", "m.*" files with non deleted messages are
left alone, but "m.*" files with deleted messages copy the "non deleted"
messages to a newly created "m.*" file and delete the original.

Good so far.

What surprises me is that the newly created "m.*" files are not
fullsize. they can be "small" files, not using the 2MB max size I have
configured for mdbox storage. Moreover, those files stay in that size
forever, no new messages are appended ever.

I guess each old "m.*" file with deleted messages generates a new
independent "m.*" containing only the non deleted messages. I wonder if
that is the case and if that is a fundamental issue that can't be
changed. I would like my "m.*" files to use the full configured mdbox
size, instead of having quite a few of new SMALL "m.*" files.

Thanks for your time and attention!.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://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: 473 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140728/a3686443/attachment.sig>


More information about the dovecot mailing list