[Dovecot] Trouble getting lda to gzip incomming mails (zlib plugin)
Helge Milde
helge at monsternett.no
Tue Sep 20 19:22:53 EEST 2011
Well, I can't see why it would hurt either.
The reason we're using that directory is that the sieve plugin is compiled into lda/ by default, I think. I will try to move the sieve files into dovecot/ and remove mail_plugin_dir tomorrow, but I don't think it will help since dovecot has no problems *loading* the library.
On Tue, Sep 20, 2011 at 11:54:21AM -0400, Patrick Domack wrote:
>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
>
>
>
--
Helge Milde, 69701808
www.monsternett.no
More information about the dovecot
mailing list