[Dovecot] Trouble getting lda to gzip incomming mails (zlib plugin)

Patrick Domack patrickdk at patrickdk.com
Tue Sep 20 18:54:21 EEST 2011


I thinking your mail_plugin_dir is not needed, I don't have it  
configured, and that path doesn't even exist on my system, maybe  
hangover from 1.x config?


Quoting Helge Milde <helge at monsternett.no>:

> Hi!
> I've followed the guide at http://wiki2.dovecot.org/Plugins/Zlib to  
> try to make Dovecot gzip incomming mails, but it doesn't seem to work.
> I've made pop/imap read gzipped files, and this seems to work  
> perfectly, but LDA is still saving incomming mails in plain text.
> There's not too much information out there regarding the zlib  
> module, so I'm not sure where to start debugging the problem, and  
> was hoping someone could point me in the right direction.
>
> The only mention of zlib when LDA is delivering a file:
> Sep 20 15:51:19 mail dovecot: deliver(helgemil): Module loaded:  
> /usr/lib/dovecot/modules/lda/lib20_zlib_plugin.so   The most  
> relevant lines from dovecot.conf:
> mail_debug = yes
> protocols = imap pop3 imaps pop3s
> mail_location = maildir:~/Maildir
> mail_privileged_group = mail
> max_mail_processes = 1024
> mail_process_size = 512
>
> protocol imap {
>     mail_max_userip_connections = 50
>     mail_plugins = fts fts_squat zlib
> }
>
> protocol pop3 {
>     pop3_uidl_format = %08Xu%08Xv
>     mail_max_userip_connections = 50
>     mail_plugins = zlib
> }
>
> protocol lda {
>     postmaster_address = postmaster at monsternett.no
>     mail_plugins = sieve zlib
>     mail_plugin_dir = /usr/lib/dovecot/modules/lda
>     sieve_global_dir = /etc/dovecot/sieve/
>     sieve_global_path = /etc/dovecot/sieve/default.sieve
> }
>
> plugin {
>     zlib_save_level = 6
>     zlib_save = gz
>     fts = squat
>     sieve = ~/dovecot.sieve
>     sieve_dir = ~/
> }
>
> -- 
> Helge Milde, 69701808
> www.monsternett.no






More information about the dovecot mailing list