[Dovecot] Compressed maildir

Farkas Levente lfarkas at bppiac.hu
Wed Jun 15 10:50:03 EEST 2005


Curtis Maloney wrote:
> 
> Greetings,
> 
>     I noticed a while back someone posted a patch/plugin that allowed 
> Dovecot to use compressed mbox files.  I'm now wondering how far that 
> would put us from having compressed maildir?  I have a server with more 
> CPU than disk space, and while I can buy more HDD space, my backup 
> solution doesn't make that practical.
> 
>     It seems to me that when looking for a message file, if it ends in 
> .gz unpack it, and otherwise everything acts as normal.  Worst case, 
> this is one strcat() and a stat() slower to find.
> 
> Newly delivered messages could remain unpacked, and a cron job could 
> come by whenever to compress old/large/un-looked-at-for-months 
> messages.  So, new and frequently referenced messages would be as fast 
> as ever, and older messages would be slower.

in this case it'd be better to use some kind of compressed filesystem:
http://lists.q-linux.com/pipermail/plug/2002-September/020687.html

-- 
   Levente                               "Si vis pacem para bellum!"




More information about the dovecot mailing list