Displaying 9 results from an estimated 9 matches for "i_stream_create_fd".
2010 Jan 20
1
Plugin
Hello Everyone...
Some time ago, i send some questions about plugins and concat 2 file
handles.
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 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
2010 Sep 20
1
replace istream and unref the old one...
...istream *full_input[3];
//this like zlib
input = imail->data.stream;
//first input, using the input
full_input[0] = i_stream_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 error...
2019 Jan 04
1
Feature request: client bind address for replication
...>pool = pool;
conn->server = server;
conn->fd = doveadm_connect_with_default_port(server->name,
- doveadm_settings->doveadm_port);
+ doveadm_settings->doveadm_port,doveadm_settings->doveadm_local_ip);
net_set_nonblock(conn->fd, TRUE);
conn->input = i_stream_create_fd(conn->fd, MAX_INBUF_SIZE, FALSE);
conn->output = o_stream_create_fd(conn->fd, (size_t)-1, FALSE);
2010 May 20
1
Patch for logging variables
...rc/imap/client.c dovecot-1.2.11/src/imap/client.c
*** dovecot-1.2.11.orig/src/imap/client.c 2010-01-24 16:14:17.000000000 -0700
--- dovecot-1.2.11/src/imap/client.c 2010-05-20 09:30:47.170407921 -0600
***************
*** 42,47 ****
--- 42,48 ----
client->fd_out = fd_out;
client->input = i_stream_create_fd(fd_in, imap_max_line_length, FALSE);
client->output = o_stream_create_fd(fd_out, (size_t)-1, FALSE);
+ client->expunged = 0;
o_stream_set_flush_callback(client->output, client_output, client);
***************
*** 105,110 ****
--- 106,113 ----
static struct var_expand_table stat...
2010 May 19
1
logging
I am looking through the logging options and wondering if there are a
couple of things that we can do
1. Logouts don't seem to show the IP address of the logout, we
typically see multiple sessions at a time and wondering if there is a
way to tie the logouts to an IP
2. POP logouts show the number of messages retrieved/deleted but I
don't see a way to do this with IMAP, is there a logout
2014 Sep 05
4
Announce: Plugin for iOS Push Email support
I?ve been hacking on a personal side project to support native iOS Push Email in Dovecot. This is specifically for people who are migrating their mail away from OS X Server while keeping their existing Push Email functionality.
Native Push Email has some great advantages: it speeds up email notifications (usually within seconds of being handled by dovecot-lda) and it improves battery life since
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
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...L_ERRSTR_CRITICAL_MSG);
+ if (keywords != NULL)
+ mailbox_keywords_free(ctx->box, &keywords);
+ return catenate_cancel(ctx, nonsync);
+ }
+ fd_set_nonblock(fds[0], TRUE);
+ fd_set_nonblock(fds[1], TRUE);
+ ctx->cat.output = o_stream_create_fd(fds[1], PIPE_MAX, TRUE);
+ ctx->input = i_stream_create_fd(fds[0], PIPE_MAX, TRUE);
+
+ /* start assembling the message */
+ ctx->save_ctx = mailbox_save_alloc(ctx->t);
+ mailbox_save_set_flags(ctx->save_ctx, flags, keywords);
+ mailbox_save_set_received_date(ctx->save_ctx,
+ internal_date, timezone_offset);
+ ret = mailbox_save_begin...