[Dovecot] zlib Plugin Dovecot 2.0
Hi Everyone....
Someone can explain to me the difference from zlib 1.2.X and 2.0 beta4 ??
In zlib from 2.0 beta4, Which part of the plugin is responsible for write the compressed message ?
On 04/08/2010 04:56 PM Alex Baule wrote:
Hi Everyone....
Someone can explain to me the difference from zlib 1.2.X and 2.0 beta4 ??
In zlib from 2.0 beta4, Which part of the plugin is responsible for write the compressed message ?
For reading compressed files you will need to enable zlib plugin for the used protocols. When using imap and pop3, configure something like:
protocol imap { mail_plugins = zlib } protocol pop3 { mail_plugins = zlib }
If you want to store compressed messages (only for v2.0+) you have to configure the zlib plugin in the plugin section:
plugin { zlib_save_level = 6 # 1 - 9 (6 = default) zlib_save = gz # or bz2 }
When you are using the dovecot-lda binary, add the zlib plugin:
protocol lda { mail_plugins = zlib }
And when using the lmtp, also activate the zlib for the lmtp:
protocol lmtp { mail_plugins = zlib }
And finally, if your IMAP client is able to read compressed mails, change your protocol imap configuration to something like:
protocol imap { mail_plugins = zlib imap_zlib }
Regards { Pascal }
The trapper recommends today: cafebabe.1009823@localdomain.org
I Dont want the configuration.
I Want know how is implemented.
Explain, the functions, the hooks to get write a email....
stuffs like this.
2010/4/8 Alex Baule <alexwbaule@gmail.com>
Hi Everyone....
Someone can explain to me the difference from zlib 1.2.X and 2.0 beta4 ??
In zlib from 2.0 beta4, Which part of the plugin is responsible for write the compressed message ?
On 04/09/2010 02:45 PM Alex Baule wrote:
I Dont want the configuration.
I Want know how is implemented.
Explain, the functions, the hooks to get write a email....
stuffs like this.
How it is implemented: http://hg.dovecot.org/dovecot-2.0/file/tip/src/plugins/zlib
Regards, Pascal
The trapper recommends today: defaced.1009916@localdomain.org
Hi Paschal
You do not understand what I want.
I developed a plugin based on the zlib plugin, but want to port it to dovecot 2.0.
There are some differences in the 2.0 plugin, which I did not quite understand how it works for me to readjust it in my plugin.
As in the source code there are not many comments, I do not quite know what each function does, if they are all necessary in my adaptation.
In developing the plugin in version 1.4, Timo helped me a lot.
What I need to know is how the hooks on write emails do this, and what the differences in the read function, since the code is different from version 1.4 to 2.0.
2010/4/9 Alex Baule <alexwbaule@gmail.com>
I Dont want the configuration.
I Want know how is implemented.
Explain, the functions, the hooks to get write a email....
stuffs like this.
2010/4/8 Alex Baule <alexwbaule@gmail.com>
Hi Everyone....
Someone can explain to me the difference from zlib 1.2.X and 2.0 beta4 ??
In zlib from 2.0 beta4, Which part of the plugin is responsible for write the compressed message ?
participants (2)
-
Alex Baule
-
Pascal Volk