Displaying 6 results from an estimated 6 matches for "i_stream_compress".
2010 Aug 31
0
istream_read like zlib, but without zlib
...eam->pos + CHUNK_SIZE > stream->buffer_size) {
/* try to keep at least CHUNK_SIZE available */
if (!emxstream->marked && stream->skip > 0) {
/* don't try to keep anything cached if we don't
have a seek mark. */
i_stream_compress(stream);
}
if (stream->max_buffer_size == 0 ||
stream->buffer_size < stream->max_buffer_size)
i_stream_grow_buffer(stream, CHUNK_SIZE);
if (stream->pos == stream->buffer_size) {
if (stream->skip > 0) {...
2005 Jun 15
6
Compressed maildir
Greetings,
I noticed a while back someone posted a patch/plugin that allowed Dovecot to
use compressed mbox files. I'm now wondering how far that would put us from
having compressed maildir? I have a server with more CPU than disk space, and
while I can buy more HDD space, my backup solution doesn't make that practical.
It seems to me that when looking for a message file, if it
2010 Mar 11
1
Plugin like zlib
...ebug,"********************** FINISH READ
*********************\n");
fflush(zstream->debug);
return *retc;*
The* retc* is the result from decrypt.
In mail-receive file (line 38), there is the error, at some point along the
read/send email, the stream->pos (its returned by i_stream_compress, with
stream->pos -= stream->skip) is changed out from context and the size to
read is negative, but i don't understand why.
Someone can help me find out what happens ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mail-arrived
Type: application/octe...
2010 Mar 22
1
mbox + bzip2 +dovecot = crash?
...ted with signal 11, Segmentation fault.
[New process 27392]
#0 memmove () at ../sysdeps/i386/i686/memmove.S:97
97 ../sysdeps/i386/i686/memmove.S: No such file or directory.
in ../sysdeps/i386/i686/memmove.S
(gdb) bt
#0 memmove () at ../sysdeps/i386/i686/memmove.S:97
#1 0x080f60c1 in i_stream_compress (stream=0x824ca48) at istream.c:393
#2 0xb77ce68a in ?? () from /usr/lib/dovecot/modules/imap/lib20_zlib_plugin.so
#3 0x0824ca48 in ?? ()
#4 0x00000001 in ?? ()
#5 0xbf8efe78 in ?? ()
#6 0x080dc007 in mail_cache_decision_state_update (view=0x10ef4c52, seq=0, field=136628808) at mail-cache-deci...
2018 Mar 04
1
2.2.34 fails to build on OpenBSD
...bs/libssl_iostream_openssl.so: undefined reference to
`buffer_append_space_unsafe'
.libs/libssl_iostream_openssl.so: undefined reference to `i_error'
.libs/libssl_iostream_openssl.so: undefined reference to `o_stream_get_fd'
.libs/libssl_iostream_openssl.so: undefined reference to `i_stream_compress'
.libs/libssl_iostream_openssl.so: undefined reference to
`o_stream_set_max_buffer_size'
.libs/libssl_iostream_openssl.so: undefined reference to `p_strdup'
.libs/libssl_iostream_openssl.so: undefined reference to
`ssl_iostream_handshake'
.libs/libssl_iostream_openssl.so: unde...
2008 Dec 10
2
assert with zlib and (maybe) fts
Hi,
I compressed a folder with the following script:
...
for i in *.*.*; do
file $i | grep bzip2 >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "Compress: $i"
cat "$i" | bzip2 -9 > ../tmp/$i
if [ $? -eq 0 ]; then
mv ../tmp/$i $i
fi
else