Tech Journal Back to Tech Journal

How can I use compressed folder with Dovecot's IMAP server?

To allow you to access gzip-compressed mailboxes from Dovecot (but read-only, it seems), you must enable the zlib plugin. Make sure the "mail_plugin" and "mail_plugin_dir" are set insite the imap protocol, like so:

protocol imap {
    mail_plugin = zlib
    mail_plugin_dir = /usr/lib/dovecot/imap/
}

Compress some mailbox, leaving it's ".gz" extension. Subscribe to it, and you'll be able to read it.

Last updated on 2007-07-16 03:59:38 -0700, by Shalom Craimer

Back to Tech Journal