Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199734

Dovecot and zlib: Mails arrive compressed

From Markus Grunwald <markus@the-grue.de>
Newsgroups linux.debian.user
Subject Dovecot and zlib: Mails arrive compressed
Date 2018-09-03 21:10 +0200
Message-ID <wu2ox-1CS-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

to save some precious space on my server, I wanted to enable zlib
compression in dovecot. I followed these instructions:

https://wiki2.dovecot.org/Plugins/Zlib

The relevant parts of my dovecot.conf

protocol imap {
 # Support for dynamically loadable plugins. mail_plugins is a space
separated
  # list of plugins to load.
  mail_plugins = $mail_plugins imap_zlib
...
}

plugin {
  # Used by both the Sieve plugin and the ManageSieve protocol
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save_level = 6 # 1...9
  zlib_save = gz # gz or bz2
}

protocol lda {
  # Support for dynamically loadable plugins. mail_plugins is a space
separated
  # list of plugins to load.
  mail_plugins = $mail_plugins sieve zlib
  mail_plugin_dir = /usr/lib/dovecot/modules
  ...
}

doveconf -n showed no error, I restarted dovecot.
Now when I receive a new mail, it is compressed - but it stays
compressed :( Meaning: It arrives in Thunderbird, but it's not readable.
If I look at the mail sources in Thunderbird, it looks like zlib
compressed text...

What have I missed?

-- 
Markus Grunwald
https://www.the-grue.de/~markus/markus_grunwald.gpg

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

Dovecot and zlib: Mails arrive compressed Markus Grunwald <markus@the-grue.de> - 2018-09-03 21:10 +0200

csiph-web