[Dovecot] [SOLVED] Managesieve fails to retrieve scripts > 8kB on Dovecot 1.1.16
John Marshall
john.marshall at riverwillow.com.au
Fri Jul 10 08:55:54 EEST 2009
On Thu, 09 Jul 2009, 22:27 -0400, Timo Sirainen wrote:
> On Thu, 2009-07-09 at 22:22 -0400, Timo Sirainen wrote:
> > With the latest changes from dovecot-1.1-managesieve hg I can't
> > reproduce this anymore. I guess one of those Stephan's "error handling"
> > changes fixed the bug? :)
>
> Ah, right.
> http://hg.rename-it.nl/dovecot-1.1-managesieve/rev/75c9769339b8 didn't
> work because it had:
>
> + if ( !i_stream_have_bytes_left(ctx->scriptstream) && !ctx->failed ) {
>
> which should have been:
>
> + if ( i_stream_have_bytes_left(ctx->scriptstream) && !ctx->failed ) {
>
> And http://hg.rename-it.nl/dovecot-1.1-managesieve/rev/8dc698b544ce fixed that.
>
Thank you Timo and Stephan! That was it! I have applied the latest
patches to cmd-getscript.c in dovecot-managesieve 0.10.6, rebuilt, and I
can once again retrieve larger scripts from the server.
Regards,
--
John Marshall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20090710/9ad5cfd0/attachment.bin
More information about the dovecot
mailing list