Blogposts tagged dovecotf.zz.dehttps://f.zz.de/tags/dovecot/f.zz.deikiwiki2020-11-06T17:39:42ZMaildir vs. mdboxhttps://f.zz.de/posts/202011061829.maildir_vs_mdbox/Florian Lohoff2020-11-06T17:39:42Z2020-11-06T17:29:00Z
<p>I just finished converting the largest mailbox i had. Its the service
for <a href="https://wasteland.rfc822.org">wasteland.rfc822.org</a> which is a receive only, no register,
mail service for any anoying "we need to have your email address"
services. The mailbox contained ~8.5 Million emails, in 85000 folders as
Maildirs, already gzip compressed reaching back to ~2011.</p>
<p>The conversion with dsync took around 4 days in background on a machine
with only rotating rust.</p>
<p>And now - compare the space savings - mostly in metadata:</p>
<pre><code>root@pax:/var/vmail/...# du -sk Maildir/ mdbox/
121387420 Maildir/
44809380 mdbox/
</code></pre>
<p>I guess removing the old Maildir will take another 2-3 days.</p>
<p>One issue i found was that mdboxes need more memory opening
and my imap process kept dying because the vsz was overwhelmed.</p>
<p>I need to increase the limit:</p>
<pre><code>service imap {
vsz_limit = 512M
}
</code></pre>