Now supported by v2.0. Also as a patch to v1.2: http://dovecot.org/patches/1.2/zlib-compress.diff I'm not really sure if I should commit it to v1.2 code tree. The code contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be feature complete.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100206/8e8f7fd4/attachment-0002.bin>
On Sat, 2010-02-06 at 01:32 +0200, Timo Sirainen wrote:> Now supported by v2.0. Also as a patch to v1.2: > http://dovecot.org/patches/1.2/zlib-compress.diff > > I'm not really sure if I should commit it to v1.2 code tree. The code > contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be > feature complete..Oh, and the patch requires latest v1.2 hg version with http://hg.dovecot.org/dovecot-1.2/rev/c24a31b423ed (and http://hg.dovecot.org/dovecot-1.2/rev/0454fde95cbf). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20100206/ec937a9f/attachment-0002.bin>
Hi Timo, OK, patching is fine ... but how am i supposed to enable that ? is there some new config option, or applying the patch will automatically and irreversible enabling it ? How to choose between gzip and bzip2 compression ? is there anything special to configure on LDA protocol to get that working ? Em 05/02/2010 21:32, Timo Sirainen escreveu:> Now supported by v2.0. Also as a patch to v1.2: > http://dovecot.org/patches/1.2/zlib-compress.diff > > I'm not really sure if I should commit it to v1.2 code tree. The code > contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be > feature complete.. >-- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, N?O mandem email gertrudes at solutti.com.br My SPAMTRAP, do not email it
On 6.2.2010, at 12.07, Leonardo Rodrigues wrote:> > OK, patching is fine ... but how am i supposed to enable that ? is there some new config option, or applying the patch will automatically and irreversible enabling it ? > > How to choose between gzip and bzip2 compression ? > > is there anything special to configure on LDA protocol to get that working ?See bottom of http://wiki.dovecot.org/Plugins/Zlib
On Saturday 06 February 2010 wrote Timo Sirainen:> Now supported by v2.0. Also as a patch to v1.2: > http://dovecot.org/patches/1.2/zlib-compress.diff > > I'm not really sure if I should commit it to v1.2 code tree. The code > contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be > feature complete..In would sure like to see that feature in stable 1.2. It is optional and in a plugin, so quite unlikely to harm. And you could even require a configure flag for it. If I could enable it per user, it would be perfect, but current is already nice to have. We have some customers who like to keep their mail data forever, and compressing on the fly would be much nicer than a nightly cron job. :) Amon Ott -- ** Besuchen Sie uns auf der CeBIT: Halle 11 am Stand C11-C13 ! ** Dr. Amon Ott - m-privacy GmbH Am K?llnischen Park 1, 10179 Berlin Tel: +49 30 24342334 Fax: +49 30 24342336 Web: http://www.m-privacy.de Handelsregister: Amtsgericht Charlottenburg HRB 84946 Gesch?ftsf?hrer: Dipl.-Kfm. Holger Maczkowsky, Roman Maczkowsky GnuPG-Key-ID: EA898571