Re: Dovecot and zlib: Mails arrive compressed

2018-09-04 Thread Kamil Jońca
Markus Grunwald  writes:

> Hello,
>
>> Stupid question: How do you acces your emails?
>> 1. Using dovecot imap
>> 2. reading mbox(maildir?) files by thunderbird?
>
> Not a stupid question at all: via dovecot imap

Try to add "zlib" plugin globally, or to "protocol imap" section.
KJ

-- 
http://wolnelektury.pl/wesprzyj/teraz/
Never trust an operating system you don't have sources for. ;-)
-- Unknown source



Re: Dovecot and zlib: Mails arrive compressed

2018-09-04 Thread Markus Grunwald
Hello,

> Stupid question: How do you acces your emails?
> 1. Using dovecot imap
> 2. reading mbox(maildir?) files by thunderbird?

Not a stupid question at all: via dovecot imap


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



Re: Dovecot and zlib: Mails arrive compressed

2018-09-03 Thread Kamil Jońca
Markus Grunwald  writes:

> Hello,
[...]
> 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...

Stupid question: How do you acces your emails?
1. Using dovecot imap
2. reading mbox(maildir?) files by thunderbird?
KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Spelling is a lossed art.



Dovecot and zlib: Mails arrive compressed

2018-09-03 Thread Markus Grunwald
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