search for: w_buffer

Displaying 12 results from an estimated 12 matches for "w_buffer".

2010 Mar 11
1
Plugin like zlib
...ream->fd ,crypttext, size); fprintf(zstream->debug,"DENTRO DA READ RET = %d -- ERRNO = %d -- STR = |%s|\n", ret, errno, strerror(errno)); if(ret > 0){ EVP_DecryptUpdate(&ctx, plaintext, &plain_len, crypttext, ret); memcpy(stream->w_buffer + stream->pos , plaintext, plain_len); bzero (plaintext, DEFAULT_MAX_BUFFER_SIZE); EVP_DecryptFinal(&ctx, plaintext, &plain_len_final); memcpy(stream->w_buffer + stream->pos + plain_len , plaintext, plain_len_final); } } while (ret &...
2003 Oct 16
2
A view quirks
Aloha Timo. I found a few odd things while playing with dovecot. At least one of them bugs me, but it might be a result of my own patches - I haven't testet it with mbox or maildir, yet. The details :) 1. * OK dovecot ready. A = (<return> Connection closed by foreign host. 2. * OK dovecot ready. A001 LOGIN xxxxxx xxxxxx A001 OK Logged in. A002 COPY 1 INBOX Connection closed by
2005 Sep 09
1
1.0alpha1: stack frame core
...t available. ) at mempool-datastack.c:112 112 i_panic("pool_data_stack_realloc(): stack frame changed"); (gdb) print pool Variable "pool" is not available. (gdb) up #5 0x00067d60 in buffer_alloc (buf=0x98500, size=1024) at buffer.c:32 32 buf->w_buffer = p_realloc(buf->pool, buf->w_buffer, buf->alloc, size); (gdb) print *buf $1 = {r_buffer = 0x98520 "\"name\" {539}\r\n", used = 14, w_buffer = 0x98520 "\"name\" {539}\r\n", dirty = 36, alloc = 256, pool = 0x984d0, alloced = 1, dynamic = 1} (gdb)...
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
2014 Mar 25
0
Disconnected (auth failed, 1 attempts)
...ok but login failed for test-user . i turn on all debug options , the debug info follow: "Mar 25 14:40:10 cs2c dovecot: imap-login: Disconnected (auth failed, 1 attempts): user=<q1 at t.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured" and the info of input->w_buffer is : cp01 CAPABILITY a001 LOGIN "q1 at t.com" "q1q1q1q1" the auth of dovecot.conf: >>>>>>>>>>>>>>>>>>>>> passdb { args = /etc/dovecot.master driver = passwd-file master = yes pass = yes } passdb { ar...
2004 Oct 21
3
RE: build errors on cvs
Building on Solaris 8 with Sun's compiler, I get the following error. Would you fix this? Using gcc is not really a good option for me. /opt/forte8/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/csw/inclu\de -fast -xarch=v8 -I/opt/csw/include -c buffer.c "buffer.c", line 159: void function cannot return value "buffer.c", line 205: void function cannot return
2009 Mar 03
4
failed assertion in 1.1.8: istream.c: line 81
Hello, We're having a problem in Dovecot 1.1.8 with a failed assertion on certain mbox format mailboxes. It happens both with deliver when it attempts to delier to the mailbox, and with IMAP connections for the affected box (though I'm not sure what they're doing at the time). Mar 3 12:55:26 <snip> dovecot: Panic: IMAP(<snip>): file istream.c: line 81 (i_stream_read):
2010 Aug 31
0
istream_read like zlib, but without zlib
...; 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) { /* lose our buffer cache */ i_stream_compress(stream); } if (stream->pos == stream->buffer_size) ret...
2009 Apr 03
2
Implementation of editheaders in dovecot
...0x80f2a19 "INBOX") at /home/pitman/work/rarules/src/rarules_plugin.c:126 #27 0x0805b69a in main (argc=3, argv=0xbfbfeeac) at deliver.c:1084 (gdb) f 1 #1 0x080df555 in i_stream_concat_read_next (cstream=0x814aa00) at istream-concat.c:79 79 memcpy(cstream->istream.w_buffer, data, data_size); (gdb) p data $4 = (const unsigned char *) 0x15 <Address 0x15 out of bounds> (gdb) p data_size $5 = 1 /////////////////////////////////////////My code///////////////////////////////////////////////////////// static int rarules_get_stream(struct mail * mail, struct messa...
2008 Oct 16
2
dovecot 1.1.4 maildir imap segfault in message_parse_header_next
I've tried to stress test dovecot 1.1.4 with imaptest for days without any assertion failure or crash. Just some "got too little data" messages. So far it's the most stable 1.1.x version. Today a user got this imap segfault with vanilla 1.1.4 (I don't know if it's something you have already fixed in current tree). The user didn't complain of anything, I've just
2008 Sep 16
2
assertion failure in current hg, file istream.c: line 303 (i_stream_read_data): assertion failed: (stream->stream_errno != 0) (1.1.3 was working fine)
Today I updated to current dovecot-1.1 hg tree and I got many of these assertion failures: file istream.c: line 303 (i_stream_read_data): assertion failed: (stream->stream_errno != 0) (gdb) bt full #0 0x00352402 in __kernel_vsyscall () No symbol table info available. #1 0x0043ed20 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x00440631 in abort () from /lib/libc.so.6
2005 Sep 07
0
1.0alpha1: new assert/core
...mmaped = 0, closed = 0, seekable = 0, eof = 0, real_stream = 0xb95c8}, fd = -1, buffer = 0xb97c0 "X-Colby-MailScanner-From: gypsywolf at usadatanet.net\r\n\r\nypsywolf at usadatanet.net\r\n\r\ne Mail (2.482)\r\n003938F39A6 at usadatanet.net>\r\n16098F4F\r\n[66.218.28.113])\r\n", w_buffer = 0x0, line_str = 0x0, buffer_size = 0, abs_start_offset = 0, statbuf = {st_dev = 0, st_pad1 = {0, 0, 0}, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, st_pad2 = {0, 0}, st_size = -1, st_atim = { tv_sec = 1126037478, tv_nsec = 0}, st_mtim = {tv_sec =...