[Dovecot] zlib plugin question

2013-12-19 Thread Przemysław Orzechowski
Hi Is it possible to compress incoming mails delivered via dovecots LDA when using dovecot --version 1.2.9 or do i have to compress them via cron?

Re: [Dovecot] zlib plugin question

2013-12-19 Thread Frerich Raabe
On 2013-12-19 16:07, Przemysław Orzechowski wrote: Is it possible to compress incoming mails delivered via dovecots LDA when using dovecot --version 1.2.9 or do i have to compress them via cron? There is a zlib plugin for Dovecot 1.x you could use. See http://wiki1.dovecot.org/Plugins/Zlib

Re: [Dovecot] zlib plugin question

2013-12-19 Thread Frerich Raabe
On 2013-12-19 17:51, Frerich Raabe wrote: On 2013-12-19 16:07, Przemysław Orzechowski wrote: Is it possible to compress incoming mails delivered via dovecots LDA when using dovecot --version 1.2.9 or do i have to compress them via cron? There is a zlib plugin for Dovecot 1.x you could use.

[Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread Frerich Raabe
Hi, I run a small IMAP server for a dozen guys in the office, serving about 55GB of Maildir. I recently became aware of the Zlib plugin ( http://wiki2.dovecot.org/Plugins/Zlib ) and wondered 1. given that there is about zero CPU load on my IMAP server, is enabling the plugin a no-brainer or

Re: [Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread Everton Foscarini
I have a relatively big installation here in the university, 1 mail server for 10.000 daily active accounts. I converted from maildir to mdbox + zlib in march, and these are my considerations: 1. CPU is not a problem, even delivering more than 400 messages per minute (blade HS21 with 2xQuad

Re: [Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread René Neumann
Am 25.11.2013 14:12, schrieb Everton Foscarini: I have a relatively big installation here in the university, 1 mail server for 10.000 daily active accounts. I converted from maildir to mdbox + zlib in march, and these are my considerations: 1. CPU is not a problem, even delivering more

Re: [Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread Jan-Frode Myklebust
On Mon, Nov 25, 2013 at 09:53:14AM +0100, Frerich Raabe wrote: I run a small IMAP server for a dozen guys in the office, serving about 55GB of Maildir. I recently became aware of the Zlib plugin ( http://wiki2.dovecot.org/Plugins/Zlib ) and wondered 1. given that there is about zero CPU

Re: [Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread Frerich Raabe
On 2013-11-25 14:35, Jan-Frode Myklebust wrote: On Mon, Nov 25, 2013 at 09:53:14AM +0100, Frerich Raabe wrote: I run a small IMAP server for a dozen guys in the office, serving about 55GB of Maildir. I recently became aware of the Zlib plugin ( http://wiki2.dovecot.org/Plugins/Zlib ) and

Re: [Dovecot] Zlib plugin - when does it make sense?

2013-11-25 Thread Jan-Frode Myklebust
On Mon, Nov 25, 2013 at 02:47:33PM +0100, Frerich Raabe wrote: Interesting! What zlib compression level did you use? I figure even low levels would work rather well for plain text. plugin { zlib_save_level = 6 # 1..9 zlib_save = gz # or bz2 }

[Dovecot] zlib plugin issues

2013-08-26 Thread Vijay Rajah
Hello, I'm running dovecot 2.2.5 in Centos 6.4 on EXT4 fs. I have activated zlib plugin. The incoming mails is compressed. However, when i try to retrieve the mail using imap I'm getting this error Aug 25 22:17:31 vrajah-vps5 dovecot: imap(me@mydomain.tld): Error: Cached message size smaller

Re: [Dovecot] zlib plugin issues

2013-08-26 Thread Vijay Rajah
Just realized the imap plugin must be imap_zlib... It works now. Thanks Vijay On Mon, Aug 26, 2013 at 10:45 PM, Vijay Rajah vijayra...@gmail.com wrote: Hello, I'm running dovecot 2.2.5 in Centos 6.4 on EXT4 fs. I have activated zlib plugin. The incoming mails is compressed. However,

[Dovecot] zlib plugin undefined symbol: imap_module_register

2013-07-19 Thread Alexander Weber
Hi all, i've tried to enable the zlib plugin within die LDA, but i've got some strange errors dovecot: lda: Error: dlopen(/usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so) failed: /usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so: undefined symbol: imap_module_register dovecot: lda:

Re: [Dovecot] zlib plugin undefined symbol: imap_module_register

2013-07-19 Thread Axel Luttgens
Le 19 juil. 2013 à 15:43, Alexander Weber a écrit : Hi all, i've tried to enable the zlib plugin within die LDA, but i've got some strange errors dovecot: lda: Error: dlopen(/usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so) failed:

[Dovecot] Zlib plugin: changing compression save level

2013-06-11 Thread Urban Loesch
Hi, I have running dovecot 2.1.15 with zlib plugin enabled and zlib_save_level = 6 since about 2 years now without any problems. What happens if I now change the zlib_save_level to 9? Should that work without any problems, or become the current saved *.m files incompatible or unreadable?

Re: [Dovecot] Zlib plugin: Compress emails for one folder only

2013-03-21 Thread André Rodier
Thanks Timo, I will see. If I have some time, I may have a look at the source code. Kind regards, André. On 20 March 2013 17:58, Timo Sirainen t...@iki.fi wrote: On 16.3.2013, at 14.43, Andre Rodier andre.rod...@gmail.com wrote: Hello everyone, Is it possible to configure the zlib plugin

Re: [Dovecot] Zlib plugin: Compress emails for one folder only

2013-03-20 Thread Timo Sirainen
On 16.3.2013, at 14.43, Andre Rodier andre.rod...@gmail.com wrote: Hello everyone, Is it possible to configure the zlib plugin to compress the emails in one folder only? I would like to compress the emails when they are stored in my 'Archives' folders and sub folders. Nope. With

[Dovecot] Zlib plugin: Compress emails for one folder only

2013-03-16 Thread Andre Rodier
Hello everyone, Is it possible to configure the zlib plugin to compress the emails in one folder only? I would like to compress the emails when they are stored in my 'Archives' folders and sub folders. Thanks, André Rodier.

Re: [Dovecot] zlib plugin bug?

2013-03-11 Thread Angel L. Mateo
El 08/03/13 14:13, Jan Phillip Greimann escribió: Hi there, got a problem with the zlib plugin, just wanted to test it on a test-mailserver, configured like in the wiki (http://wiki2.dovecot.org/Plugins/Zlib) and restarted the server. I've send an email to a blank maildir++ mailbox, the file is

Re: [Dovecot] zlib plugin bug?

2013-03-11 Thread Jan Phillip Greimann
Am 11.03.2013 08:05, schrieb Angel L. Mateo: zlib plugin doesn't put any flag in messages. The Z flag mentioned in the wiki is one you could put if your are compressing an existing mailbox in order to know which files you have previously compressed. Thank you. I noticed later that there is

[Dovecot] zlib plugin bug?

2013-03-08 Thread Jan Phillip Greimann
Hi there, got a problem with the zlib plugin, just wanted to test it on a test-mailserver, configured like in the wiki (http://wiki2.dovecot.org/Plugins/Zlib) and restarted the server. I've send an email to a blank maildir++ mailbox, the file is saved as gzip compressed file, but the Z flag

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-03 Thread Timo Sirainen
On 2.8.2012, at 10.09, Robert Schetterer wrote: Hi Timo, most of the Problems are fixed now many thx for your script , but how to avoid that in future ( Maildir filename has wrong S value ) You'd need to find out why it started happening in the first place. What software wrote those

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-03 Thread Robert Schetterer
Am 03.08.2012 15:56, schrieb Timo Sirainen: On 2.8.2012, at 10.09, Robert Schetterer wrote: Hi Timo, most of the Problems are fixed now many thx for your script , but how to avoid that in future ( Maildir filename has wrong S value ) You'd need to find out why it started happening in the

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected / with 2.1.9 patch ?

2012-08-02 Thread Robert Schetterer
Am 01.08.2012 14:58, schrieb Timo Sirainen: On 1.8.2012, at 15.43, Robert Schetterer wrote: If you don't mind the messages' IMAP UIDs changing, you could give the -f parameter to fix those. i will try things couldn not get more worst ./maildir-size-check.sh -f maildir is an unknown

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 07:36, schrieb Robert Schetterer: Am 31.07.2012 23:44, schrieb Timo Sirainen: On 1.8.2012, at 0.29, Robert Schetterer wrote: Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e Freunde/cur/1321795242.M359794P29783.mail02,S=2647728:2,S: Wrong S=2647728 value, should be S=3838835 -- Best Regards MfG Robert

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Timo Sirainen
On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e Freunde/cur/1321795242.M359794P29783.mail02,S=2647728:2,S: Wrong S=2647728 value,

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:17, schrieb Timo Sirainen: On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of i.e

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:25, schrieb Robert Schetterer: Am 01.08.2012 14:17, schrieb Timo Sirainen: On 1.8.2012, at 15.12, Robert Schetterer wrote: Am 01.08.2012 14:06, schrieb Timo Sirainen: See what you get by running the maildir through: http://dovecot.org/tools/maildir-size-check.sh tons of

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-08-01 Thread Robert Schetterer
Am 01.08.2012 14:58, schrieb Timo Sirainen: On 1.8.2012, at 15.43, Robert Schetterer wrote: If you don't mind the messages' IMAP UIDs changing, you could give the -f parameter to fix those. i will try things couldn not get more worst ./maildir-size-check.sh -f maildir is an unknown

[Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-07-31 Thread Robert Schetterer
Hi Timo, by having errors like Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the problem with tb 14 with 2 nat machines connected to the same server the problem relates with create new folder then

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-07-31 Thread Timo Sirainen
On 1.8.2012, at 0.29, Robert Schetterer wrote: Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the problem with tb 14 with 2 nat machines connected to the same server the problem relates

Re: [Dovecot] zlib plugin maildir broken ?/ Cached message size smaller than expected

2012-07-31 Thread Robert Schetterer
Am 31.07.2012 23:44, schrieb Timo Sirainen: On 1.8.2012, at 0.29, Robert Schetterer wrote: Cached message size smaller than expected and Maildir filename has wrong S value and Corrupted index cache file in dove 2.1.8 i can reproduce the problem with tb 14 with 2 nat machines connected

Re: [Dovecot] zlib plugin doesn't read concatenated .gz mailbox

2011-08-23 Thread Timo Sirainen
On Fri, 2011-07-29 at 20:00 +0300, Dmitry Nezhevenko wrote: I've observed that dovecot doesn't displays all mails from compressed via gzip mailbox (mbox). At the same time mutt -f mailbox.gz displays it correctly with all messages. Fixed: http://hg.dovecot.org/dovecot-2.0/rev/35e4a547231c

[Dovecot] zlib plugin doesn't read concatenated .gz mailbox

2011-07-29 Thread Dmitry Nezhevenko
Hi, I've observed that dovecot doesn't displays all mails from compressed via gzip mailbox (mbox). At the same time mutt -f mailbox.gz displays it correctly with all messages. I'm using archivemail to archive old mails. Internally it creates new gzip archive with expired messages and then

[Dovecot] zlib plugin weirdness

2010-10-01 Thread Kyle Wheeler
Hello, I'm trying to get the zlib plugin working on my 2.0 server. I started with an mbox that Dovecot can read just fine. Then I gzipped it, and now Dovecot complains that it's corrupted: Error: Next message unexpectedly corrupted in mbox file

Re: [Dovecot] zlib plugin weirdness

2010-10-01 Thread Timo Sirainen
On Fri, 2010-10-01 at 10:21 -0500, Kyle Wheeler wrote: I'm trying to get the zlib plugin working on my 2.0 server. I started with an mbox that Dovecot can read just fine. Then I gzipped it, and now Dovecot complains that it's corrupted: Does this fix it?

Re: [Dovecot] zlib plugin weirdness

2010-10-01 Thread Kyle Wheeler
On Friday, October 1 at 05:06 PM, quoth Timo Sirainen: On Fri, 2010-10-01 at 10:21 -0500, Kyle Wheeler wrote: I'm trying to get the zlib plugin working on my 2.0 server. I started with an mbox that Dovecot can read just fine. Then I gzipped it, and now Dovecot complains that it's corrupted:

Re: [Dovecot] zlib plugin weirdness

2010-10-01 Thread Kyle Wheeler
On Friday, October 1 at 05:46 PM, quoth Timo Sirainen: On Fri, 2010-10-01 at 11:21 -0500, Kyle Wheeler wrote: On Friday, October 1 at 05:06 PM, quoth Timo Sirainen: On Fri, 2010-10-01 at 10:21 -0500, Kyle Wheeler wrote: I'm trying to get the zlib plugin working on my 2.0 server. I started

Re: [Dovecot] zlib plugin weirdness

2010-10-01 Thread Kyle Wheeler
On Friday, October 1 at 11:51 AM, quoth Kyle Wheeler: That does it for gz-compressed files; it works! However, for bz2-compressed files, I get: Error: Next message unexpectedly corrupted in mbox file /var/lib/vpopmail/domains/memoryhole.net/kyle/Maildir/Archive/Intellego.bz2 at 1907 Error:

Re: [Dovecot] Zlib plugin dovecot 2.0beta4

2010-05-26 Thread Alex Baule
Mostrar romanização The extra line added to the header is to maintain compatibility with SMTP(share library code), which already works well. Besides having other benefits that are due to the hash in the header. I tried accessing the same way that istream is done in the zlib (

[Dovecot] Zlib plugin dovecot 2.0beta4

2010-05-11 Thread Alex Baule
Hi Timo... I made the plugin like you say. The header part is saved by dovecot, with o_stream_send , and the body with my function. This implementation, works fine. But i need to get / change some values to create the link from header to body. When a email is saved, have the S an W flags,

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-05-03 Thread Alex Baule
Hi Timo... I made the plugin like you say. The header part is saved by dovecot, with o_stream_send , and the body with my function. This implementation, works fine. But i need to get / change some values to create the link from header to body. When a email is saved, have the S an W flags,

[Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-30 Thread Alex Baule
Hello Everyone. There is possible to rename the email saved by a plugin, like zlib ? i explain i need to add 1 line in email header, because of that, i want to rewrite the filename to update the S and W flag. Tks !

[Dovecot] zlib plugin dovecot 2.0 - write email

2010-04-26 Thread Alex Baule
Hello Everyone. There is possible to rename the email writed by a plugin, like zlib ? i explain i need to add 1 line in email header, because of that, i want to rewrite the filename to update the S and W flag. Tks !

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-22 Thread Alex Baule
Hi Timo I'm doing the plugin based on what you said. But I'll add a line in the message header, so the S and W (size of email) flags, on the file name has to be changed ... There is a way to do that in the plugin? 2010/4/20 Alex Baule alexwba...@gmail.com If I had the file descriptor,

[Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-20 Thread Alex Baule
Hello Everyone... In zlib save mail have it: struct ostream *output; There is a way to get the file descriptor from output used in ostream zlib plugin ? to get in istream is i_stream_get_fd, but don't have o_stream_get_fd..

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-20 Thread Alex Baule
Because my plugin will separate the body of the message header. With the FD I have control over the message to separate it. Do you have any suggestions for this separation? I do not quite understand how the struct ostream works. Tks Timo. 2010/4/20 Timo Sirainen t...@iki.fi On Tue,

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-20 Thread Timo Sirainen
You should write the message header to the ostream that you get, and message body to some other file that you create. Use the o_stream_send() function to write the message header to the ostream (which does basically the same as write(fd)). I don't see how getting the stream's fd would help with

Re: [Dovecot] zlib Plugin Dovecot 2.0 - ostream

2010-04-20 Thread Alex Baule
If I had the file descriptor, I will reuse my functions to do this, made in a separate library, that i use in the MTA. So no need to rewrite again the part of split the message. 2010/4/20 Timo Sirainen t...@iki.fi You should write the message header to the ostream that you get, and message

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Timo Sirainen
On Fri, 2010-04-09 at 11:42 -0300, Alex Baule wrote: 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. I don't think you need to

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Alex Baule
Thanks Timo, I have another question about the plugin. Part of reading I already migrated, only that the piece of writing (the new part in the plugin) I need to understand some things about the operation in order to migrate and redo the same functions with the separation of body / header Can

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Timo Sirainen
On Fri, 2010-04-16 at 09:55 -0300, Alex Baule wrote: Part of reading I already migrated, only that the piece of writing (the new part in the plugin) I need to understand some things about the operation in order to migrate and redo the same functions with the separation of body / header So

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Timo Sirainen
On Fri, 2010-04-16 at 18:34 +0300, Timo Sirainen wrote: On Fri, 2010-04-16 at 09:55 -0300, Alex Baule wrote: Part of reading I already migrated, only that the piece of writing (the new part in the plugin) I need to understand some things about the operation in order to migrate and redo

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Alex Baule
Ok ! That's easy. In the sendv rewrite, have this: for (i = 0; i iov_count; i++) { if (o_stream_emexis_send_chunk(emexis_stream, iov[i].iov_base, iov[i].iov_len) 0) return -1; bytes += iov[i].iov_len; } This iov is every line from the

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-16 Thread Timo Sirainen
On 16.4.2010, at 19.15, Alex Baule wrote: This iov is every line from the new emaill to save ? Or this is a email block with X bytes ? In my function to write email, i split the email by \n, to save it splited, and if the iov is splited by \n, is good for me. You can't assume anything

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-09 Thread Alex Baule
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 alexwba...@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

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-09 Thread Pascal Volk
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 --

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-09 Thread Alex Baule
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

Re: [Dovecot] zlib Plugin Dovecot 2.0

2010-04-09 Thread Alex Baule
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

[Dovecot] zlib Plugin Dovecot 2.0

2010-04-08 Thread Alex Baule
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 ?

[Dovecot] zlib plugin trouble

2010-02-16 Thread Stéphane Cottin
Hi, I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin. logfile sample: [...] mail.err: Feb 16 14:22:25 dovecot: IMAP(hid...@domain.com): zlib_istream.seek() failed: Invalid argument mail.err: Feb 16 14:22:25 dovecot: IMAP(hid...@domain.com): FETCH for mailbox

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Timo Sirainen
On Tue, 2010-02-16 at 15:30 +0100, Stéphane Cottin wrote: Hi, I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin. logfile sample: [...] mail.err: Feb 16 14:22:25 dovecot: IMAP(hid...@domain.com): zlib_istream.seek() failed: Invalid argument mail.err: Feb 16

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Leonardo Rodrigues
Em 16/02/2010 12:30, Stéphane Cottin escreveu: Hi, I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin. logfile sample: [...] mail.err: Feb 16 14:22:25 dovecot: IMAP(hid...@domain.com): zlib_istream.seek() failed: Invalid argument mail.err: Feb 16 14:22:25 dovecot:

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Stéphane Cottin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 16 févr. 2010 à 16:27, Timo Sirainen a écrit : On Tue, 2010-02-16 at 15:30 +0100, Stéphane Cottin wrote: Hi, I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin. logfile sample: [...] mail.err: Feb 16 14:22:25

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Leonardo Rodrigues
Em 16/02/2010 13:27, Timo Sirainen escreveu: Yeah, bzip2 code is broken in v1.2. I fixed it in v2.0 by basically rewriting the whole thing. Maybe I should just disable bzip2 support in v1.2. will dovecot 2.0 be able to handling mixed maildirs with gzip and bzip2 compressed messages,

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Stéphane Cottin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 16 févr. 2010 à 16:28, Leonardo Rodrigues a écrit : Em 16/02/2010 12:30, Stéphane Cottin escreveu: Hi, I have error with dovecot 1.2.10 + compress on deliver patch and zlib plugin. logfile sample: [...] mail.err: Feb 16 14:22:25

Re: [Dovecot] zlib plugin trouble

2010-02-16 Thread Timo Sirainen
On 16.2.2010, at 17.39, Stéphane Cottin wrote: mail.err: Feb 16 14:22:26 dovecot: IMAP(hid...@domain.com): gzread() failed: DATA_ERROR_MAGIC I made a simple script to gzip uncompressed messages and convert bzip2 to gzip (I can share it if anyone cares), There is no bzip2 compressed files

Re: [Dovecot] zlib plugin

2008-10-09 Thread Andrey Panin
On 281, 10 07, 2008 at 03:10:47PM +0300, Timo Sirainen wrote: On Tue, 2008-10-07 at 11:38 +0400, Andrey Panin wrote: On 279, 10 05, 2008 at 10:38:02PM +0300, Timo Sirainen wrote: On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: Last but not least, what gain will i have by using this

Re: [Dovecot] zlib plugin

2008-10-07 Thread Andrey Panin
On 279, 10 05, 2008 at 10:38:02PM +0300, Timo Sirainen wrote: On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: Last but not least, what gain will i have by using this plugin in combination with Maildir, or will it have more impact when mails are stored in mbox. I guess it depends on

[Dovecot] Zlib plugin question

2008-10-07 Thread Ralf Hildebrandt
http://wiki.dovecot.org/Plugins/Zlib says pop3 and imap can use this plugin. Does deliver also use it? -- Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de

Re: [Dovecot] Zlib plugin question

2008-10-07 Thread Eduardo M KALINOWSKI
Ralf Hildebrandt wrote: http://wiki.dovecot.org/Plugins/Zlib says pop3 and imap can use this plugin. Does deliver also use it? No, the zlib plugin is only for reading compressed messages/mailboxes. You have to compress them manually. -- calc Knghtbrd: irc doesn't compile c code very well ;)

Re: [Dovecot] zlib plugin

2008-10-07 Thread Timo Sirainen
On Tue, 2008-10-07 at 11:38 +0400, Andrey Panin wrote: On 279, 10 05, 2008 at 10:38:02PM +0300, Timo Sirainen wrote: On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: Last but not least, what gain will i have by using this plugin in combination with Maildir, or will it have more impact

Re: [Dovecot] Zlib plugin question

2008-10-07 Thread Ralf Hildebrandt
* Eduardo M KALINOWSKI [EMAIL PROTECTED]: Ralf Hildebrandt wrote: http://wiki.dovecot.org/Plugins/Zlib says pop3 and imap can use this plugin. Does deliver also use it? No, the zlib plugin is only for reading compressed messages/mailboxes. You have to compress them manually. awww,

Re: [Dovecot] zlib plugin

2008-10-07 Thread Curtis Maloney
Timo Sirainen wrote: On Tue, 2008-10-07 at 11:38 +0400, Andrey Panin wrote: On 279, 10 05, 2008 at 10:38:02PM +0300, Timo Sirainen wrote: On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: Last but not least, what gain will i have by using this plugin in combination with Maildir, or will it have

[Dovecot] zlib plugin

2008-10-05 Thread Luuk
hi, Could anyone give some info on this plugin? When i read the wiki (http://wiki.dovecot.org/Plugins/Zlib) i'm still left with some questions... I use Maildir to store my mails, if i enable this zlib-plugin, should i 'manually' compress all messages? or wil the uncompressed messages still be

Re: [Dovecot] zlib plugin

2008-10-05 Thread Timo Sirainen
On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: hi, Could anyone give some info on this plugin? When i read the wiki (http://wiki.dovecot.org/Plugins/Zlib) i'm still left with some questions... I use Maildir to store my mails, if i enable this zlib-plugin, should i 'manually' compress

Re: [Dovecot] zlib plugin

2008-10-05 Thread Luuk
Timo Sirainen schreef: On Sun, 2008-10-05 at 21:28 +0200, Luuk wrote: hi, Could anyone give some info on this plugin? When i read the wiki (http://wiki.dovecot.org/Plugins/Zlib) i'm still left with some questions... I use Maildir to store my mails, if i enable this zlib-plugin, should

Re: [Dovecot] zlib plugin and moving mails, bug?

2008-07-19 Thread Mateusz Kijowski
Dnia piątek, 18 lipca 2008, Nuno Lopes napisał: This was a bug in version 1.0 which is now corrected in version 1.1.rc6 by looking at the file header instead of the Z flag. Yet another reason to upgrade to 1.1... -- Mateusz Kijowski Biuro Informatyki DFQS mail: [EMAIL PROTECTED] | tel: 058

Re: [Dovecot] zlib plugin nad moving mails, bug?

2008-07-18 Thread Timo Sirainen
On Fri, 2008-07-18 at 16:14 +0200, Mateusz Kijowski wrote: Recently I gzipped mails older than 30 days in our users' maildirs. I used find and gzip. Gzip added 'Z' at the end of the filename and everything seemed to work fine, users did not notice any difference in performance (yet :-), and

Re: [Dovecot] zlib plugin nad moving mails, bug?

2008-07-18 Thread Nuno Lopes
This was a bug in version 1.0 which is now corrected in version 1.1.rc6 by looking at the file header instead of the Z flag. http://dovecot.org/pipermail/dovecot-news/2008-May/69.html Regards, -- Nuno Mateusz Kijowski wrote: Hi, Recently I gzipped mails older than 30 days in our users'

Re: [Dovecot] zlib plugin

2007-04-07 Thread Timo Sirainen
On 7.4.2007, at 3.08, guenther wrote: Well, here at least. ;) I recently found out by accident about support for gzip compressed mbox files. While this is great for archives to keep wasting of space down to a minimum, unfortunately it is read only -- no support for rw access. Is

[Dovecot] zlib plugin

2007-04-06 Thread guenther
Good evening, folks, Well, here at least. ;) I recently found out by accident about support for gzip compressed mbox files. While this is great for archives to keep wasting of space down to a minimum, unfortunately it is read only -- no support for rw access. Is implementing write access by any