search for: i_stream_create_concat

Displaying 8 results from an estimated 8 matches for "i_stream_create_concat".

2009 Apr 13
0
How can I skip EOH in headers?
...080cdbaa in parse_header (mstream=0x8147e00) at istream-header- filter.c:356 #2 0x080cdc0c in i_stream_header_filter_seek (stream=0x8147e00, v_offset=0, mark=false) at istream-header-filter.c:370 #3 0x080dea5b in i_stream_seek (stream=0x8147e28, v_offset=0) at istream.c:155 #4 0x080dfeae in i_stream_create_concat (input=0x8115528) at istream- concat.c:260 #5 0x2831e03d in rarules_get_stream (mail=0x8141860, hdr_size=0x0, body_size=0x0, stream_r=0xbfbfe920) at /home/pitman/work/rarules/src/rarules-plugin.c:181 #6 0x0809d830 in mail_get_stream (mail=0x8141860, hdr_size=0x0, body_size=0x0, stream_r...
2010 Sep 20
1
replace istream and unref the old one...
...tream_create_header_filter(input, HEADER_FILTER_EXCLUDE | HEADER_FILTER_NO_CR, exclude_headers, 1, filter_callback, imail); // second input from another file. full_input[1] = i_stream_create_fd(fd1, 0, TRUE); // finish the input full_input[2] = NULL; // recreating the stream imail->data.stream = i_stream_create_concat(full_input); //unref the old one. i_stream_unref(&input); return index_mail_init_stream(imail, hdr_size, body_size, stream_r); I do like zlib, but i got this errors in LOG. I Think it's because something in the unref, but o don't know what. Sep 20 10:48:04 brc dovecot: imap(alex at...
2010 Jan 20
1
Plugin
.... So, there is another questions about this. Timo Sirainen send to me this modification, in src/lib-storage/index/maildir/maildir-mail.c struct istream *full_input[3]; full_input[0] = i_stream_create_fd(fd, 0, TRUE); full_input[1] = i_stream_create_fd(fd1, 0, TRUE); full_input[2] = NULL; input = i_stream_create_concat(full_ input); This is necessary because my Header and Body is splited. This modification works fine. My question is: There is a way to do this with a plugin ? I dont know how to implement this in a plugin, because i dont know what is the hook to change the maildir_open_mail functions. (this is t...
2009 Apr 03
2
Implementation of editheaders in dovecot
..._chunks); chunks[cnt++] = header_filter(stream, &ra_mail->exclude_headers, exclude_cnt); if (include_cnt) { chunks[cnt++] = create_header_stream(&ra_mail->include_headers, include_cnt); } chunks[cnt++] = create_stream_for_msgbody(stream); chunks[cnt++] = NULL; *stream_r = i_stream_create_concat(chunks); DPRINT("Cleanup"); array_clear(&ra_mail->include_headers); array_clear(&ra_mail->exclude_headers); for (i = 0; chunks[i] != NULL; ++i) { i_stream_unref(&chunks[i]); } i_stream_unref(&stream); DPRINTF("Func `%s' executed", __FUNCTION__...
2009 Dec 14
1
deliver panics when handling mails bigger than some kByte
Hi, i've just upgraded to dovecot-1.2.8 (from 1.2.4) and do now get the following errors when deliver gets hands on mails with some attachments. # tail -n 1 /var/log/messages Dec 14 19:00:36 mail3 dovecot: deliver(user): Panic: file istream.c: line 96 (i_stream_read): assertion failed: (stream->eof) The MTA is postfix running inside a FreeBSD 7.2-STABLE jail. The homes where deliver
2013 Oct 15
3
Plugin issue with update from 2.0.19 to 2.1.17
Hello. Probably only Timo can help-me with this. I have a self-made plugin based on the zlib plugin that i use to cryptograph the messages at inbox. As a side-effect of the cryptography, my plugin changes the size of the message, but until 2.0.19 this works well with dovecot index and the W/S flags. But now, i'm going to upgrade to 2.1.17 and now i have these messages on log at my test
2008 May 31
1
Sieve Editheader Extension?
I've done extensive searches, and there is virtually no information about actual implementations of the draft Sieve Editheader Extension (which provides 'addheader' and 'deleteheader' actions): http://www.ietf.org/internet-drafts/draft-ietf-sieve-editheader-11.txt Is anyone currently working on this for Dovecot Sieve? If not, are there any plans to do so? And before I
2009 Dec 08
3
Developer Documentation
Hi Everyone.... I Try to make a modification in dovecot Maildir system.... I want to include lines from another file into every email when the user request to read this email. Is Like put some extras itens email. I try to find how to do this but what i understand is, every email is read "on the fly", but i dont find exactly where... i didnt find some "read" to do this. Some