Enable compression on Dovecot storage

I’ve just discovered than compression can be applied on Dovecot mail storage. Truth is I used to run the delivery via Postfix. Now that I use OpenSMTPD and Dovecot LMTP to deliver the mail, those can be compressed for write (LMTP) and read (IMAP) process. Here’s how.

Continue reading “Enable compression on Dovecot storage”

ZFS explained and demoed (briefly)

ZFS may be Yet Another File System. To me, ZFS is Ze File System brought by Sun Solaris. It is remarkable because it comes with numerous interesting features. To name a few: redundancy, checksum, compression, deduplication, snapshots.

This article is a kind of cheat sheet on what is ZFS, how it is organized and how to build a consistent storage area using this particular file system. It is mostly an attempt to clarify and write down what I read about ZFS and how it has to be used to achieve various storage goals.

Continue reading “ZFS explained and demoed (briefly)”

Enable gzip compression on OpenBSD’s Apache

OpenBSD ships with Apache 1.3.x. It is better, faster, stronger, etc… but it isn’t compression-capable by default (AFAIK). Here are the directions to enable compression for all your Web resources:
Continue reading “Enable gzip compression on OpenBSD’s Apache”