Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-12 Thread Timo Sirainen
On Aug 5, 2008, at 11:44 AM, Dean Brooks wrote: Is there a way to implement a --without-bzlib style option so people can disable compilation of some of these plugins? Added: http://hg.dovecot.org/dovecot-1.1/rev/0dd6386cbc93 PGP.sig Description: This is a digitally signed message part

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-06 Thread Chris Wakelin
Chris Wakelin wrote: Oh, unless there are some bugs in your zlib version, such as related to seeking.. Could be, I imagine it's as prehistoric as the bzlib :) Right, I've tried dovecot-1.1.2 using my own zlib-1.2.3 (and bzlib-1.0.5) build on Solaris 8: ldd lib20_zlib_plugin.so gives

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Timo Sirainen
On Jul 24, 2008, at 1:11 PM, Dean Brooks wrote: I cannot get Dovecot 1.1.2 to compile at all on Solaris8 with gcc 3.3.4 and newly recompiled versions of bzip2 and zlib libraries. This is the first time I've ever had a problem getting Dovecot to compile under Solaris 8. .. unknown

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Dean Brooks
On Mon, Aug 04, 2008 at 02:26:50PM -0400, Timo Sirainen wrote: On Jul 24, 2008, at 1:11 PM, Dean Brooks wrote: I cannot get Dovecot 1.1.2 to compile at all on Solaris8 with gcc 3.3.4 and newly recompiled versions of bzip2 and zlib libraries. This is the first time I've ever had a problem

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-08-04 Thread Timo Sirainen
On Aug 4, 2008, at 2:38 PM, Dean Brooks wrote: Does dovecot require a shared version of the libbz2 library to compile correctly? Is there no way to statically link this? You could link the libbz2.a into the imap binary (and hope that linker doesn't optimize it away), but you can't link .a

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-24 Thread Chris Wakelin
Chris Wakelin wrote: I can try this in Solaris 10, but I don't really see why the OS/architecture should matter. Oh, unless there are some bugs in your zlib version, such as related to seeking.. Could be, I imagine it's as prehistoric as the bzlib :) Right, I've tried dovecot-1.1.2 using

Re: [Dovecot] Dovecot 1.1.1 + zlib plugin + mbox crash

2008-07-23 Thread Timo Sirainen
On Wed, 2008-07-23 at 15:58 +0100, Chris Wakelin wrote: I've tried this on both Solaris 8 and SuSE Enterprise 9 (64-bit). I get a assert-crash when using a gzipped mbox folder .. istream-raw-mbox.c: line 363 (i_stream_create_raw_mbox): assertion failed: (input-v_offset == 0) Fixed: