search for: o_stream_send

Displaying 20 results from an estimated 27 matches for "o_stream_send".

2005 Aug 24
0
verbose imap logging
...cot-1.0.alpha1/src/imap/imap-fetch.c --- dovecot-1.0.alpha1.orig/src/imap/imap-fetch.c 2005-07-04 13:30:25.000000000 +0200 +++ dovecot-1.0.alpha1/src/imap/imap-fetch.c 2005-08-23 10:39:08.000000000 +0200 @@ -353,10 +353,12 @@ return -1; } + ctx->client->retr_bytes+=strlen(body); if (o_stream_send(ctx->client->output, "BODY (", 6) < 0 || o_stream_send_str(ctx->client->output, body) < 0 || o_stream_send(ctx->client->output, ")", 1) < 0) return -1; + ctx->client->retr_messages++; return 1; } @@ -387,6 +389,7 @@ return...
2009 Jun 15
1
Dovecot Antispam plugin
...beginning"); 205 goto failed_to_copy; 206 } 207 208 /* "From "? skip line */ 209 if (memcmp("From ", beginning, 5) == 0) { 210 i_stream_read_next_line(mailstream); 211 } else { 212 if (o_stream_send(outstream, beginning, 5) != 5) { 213 ret = -1; 214 mail_storage_set_error(t->box->storage, 215 ME(NOTPOSSIBLE) 216 "Failed to write line to te...
2003 Dec 20
1
Bugfix for use with "Opera mail" and "AnalogX"
Dear developers, [ Please CC me as I'm not subscribed to this list. ] In src/pop3-login/client.c: void client_send_line(struct pop3_client *client, const char *line) { o_stream_send_str(client->output, line); o_stream_send(client->output, "\r\n", 2); } Called as 'client_send_line(client "+OK dovecot");'. This function sends two packets to the client. It appears Opera mail and AnalogX proxy recognise the 1st packet as a complete welcome...
2014 Jul 23
1
Maybe error in login-common/login-proxy.c/proxy_client_input
Hi! It seems that o_stream_cork should be done on proxy->server_output but not on proxy->client_output. o_stream_cork(proxy->client_output); ret2 = o_stream_send(proxy->server_output, buf, ret); o_stream_uncork(proxy->server_output);
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...gt; /usr/lib64/dovecot/libssl_iost ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] -> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) [0x7f8bb12da52e] -> / usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa6ef) [0x7f8bb12da6ef] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_sendv+0xc7) [0x7f8bb657e765] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_send+0x61) [0x7f8bb657e688] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10dc2c) [0x7f8bb6583c2c] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10ddd4) [0x7f8bb6583dd4] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_send...
2017 Oct 07
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...gt; /usr/lib64/dovecot/libssl_iost ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] -> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) [0x7f8bb12da52e] -> / usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa6ef) [0x7f8bb12da6ef] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_sendv+0xc7) [0x7f8bb657e765] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_send+0x61) [0x7f8bb657e688] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10dc2c) [0x7f8bb6583c2c] -> /usr/lib64/dovecot/libdovecot.so.0(+0x10ddd4) [0x7f8bb6583dd4] -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_send...
2015 Feb 13
2
doveadm sync out of memory
...t; /usr/lib/dovecot/libdovecot.so.0(+0x72d53) [0x7f9d2057fd53] -> /usr/lib/dovecot/libdovecot.so.0(+0x7792a) [0x7f9d2058492a] -> /usr/lib/dovecot/libdovecot.so.0(+0x77be6) [0x7f9d20584be6] -> /usr/lib/dovecot/libdovecot.so.0(+0x78748) [0x7f9d20585748] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_sendv+0x8d) [0x7f9d20583d7d] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_send+0x1a) [0x7f9d20583e1a] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(+0x4c05) [0x7f9d1f6a0c05] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(openssl_iostream_bio_sync+0x21) [0x7f9d1f6a1881] -> /u...
2014 Jun 23
4
OOM in Dovecot 2.2.13 imap
...t; /usr/lib/dovecot/libdovecot.so.0(+0x81e80) [0x7f11766e1e80] -> /usr/lib/dovecot/libdovecot.so.0(+0x86cda) [0x7f11766e6cda] -> /usr/lib/dovecot/libdovecot.so.0(+0x86f96) [0x7f11766e6f96] -> /usr/lib/dovecot/libdovecot.so.0(+0x87b48) [0x7f11766e7b48] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_sendv+0xcd) [0x7f11766e60cd] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_send+0x1a) [0x7f11766e615a] -> /usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so(+0x5849) [0x7f1175692849] -> /usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so(+0x5982) [0x7f1175692982] -> /usr/lib/dovecot/modules/li...
2004 Jul 09
1
NUL characters in POP3 conversation cause Outlook to hang
We're being bitten an Outlook bug [1,2] that is triggered by a NUL character in a message being sent through POP3. I see that dovecot's imap implementation converts 0x00 to 0x80, but this conversion is not done for POP3. Would it be possible to add an option to do this mapping for POP3 as well? Matt [1] http://xforce.iss.net/xforce/xfdb/15859 [2]
2005 Jan 07
1
CRASH with squirrelmail.
I'm using: [root at gwydion root]# rpm -q squirrelmail dovecot squirrelmail-1.4.3-0.f1.1 dovecot-0.99.12-2.1.fc1.rf [root at gwydion root]# It works very good (a bit slow I would say, but ok)... until I enable MySQL auth mechanism. When I do that, dovecot-auth crashes when squirrelmail try to login. I keep getting: Jan 7 01:28:31 gwydion dovecot: child 22782 (auth) killed with signal 11
2010 May 11
1
Zlib plugin dovecot 2.0beta4
Hi Timo... I made the plugin like you say. The header part is saved by dovecot, with o_stream_send , and the body with my function. This implementation, works fine. But i need to get / change some values to create the "link" from header to body. When a email is saved, have the S an W flags, that is the size of email. There is a way to increase this Flags ? I need to put one more li...
2010 May 27
1
Over quota
...get a list of messages and the logs show this: May 27 10:24:45 pop1.gwtc.net dovecot: POP3(cody at howaboutnow.net) [64.251.165.209]: write(/home/co/cody/Maildir/dovecot-uidvalidity) failed: Disk quota exce eded May 27 10:24:45 pop1.gwtc.net dovecot: POP3(cody at howaboutnow.net) [64.251.165.209]: o_stream_send(/home/co/cody/Maildir/dovecot-uidlist.tmp) failed: Disk qu ota exceeded May 27 10:24:45 pop1.gwtc.net dovecot: POP3(cody at howaboutnow.net) [64.251.165.209]: Couldn't init INBOX: Internal error occurred. Refer to server log for more inform ation. [2010-05-27 10:24:45]
2013 Jun 08
1
Problem redirecting email using pigeonhole 0.4.0 (with patch)
...TATION); + rfc2822_header_append(hdr, "X-Sieve", SIEVE_IMPLEMENTATION, FALSE, NULL); if ( recipient != NULL ) - rfc2822_header_write(hdr, "X-Sieve-Redirected-From", recipient); + rfc2822_header_append(hdr, "X-Sieve-Redirected-From", recipient, FALSE, NULL); o_stream_send(output, str_data(hdr), str_len(hdr)); } T_END; Best regards, Andrey. -------------- next part -------------- A non-text attachment was scrubbed... Name: crlf.patch Type: application/octet-stream Size: 838 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/2013060...
2015 Feb 05
2
doveadm sync out of memory
Hello: I've been looking forward to getting my mail server up to Dovecot 2.2+ to be able to use the sync mechanism. I run my own mail server just for myself, with a few different accounts, and want to keep a master and backup server in sync. I'm running the Ubuntu server 14.04.1 mail stack which features Dovecot 2.2.9 (and Postfix). My setup is to use system users (userdb passwd /
2017 Oct 12
2
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] -> >> /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) >> [0x7f8bb12da52e] -> / >> usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa6ef) [0x7f8bb12da6ef] >> -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_sendv+0xc7) >> [0x7f8bb657e765] -> >> /usr/lib64/dovecot/libdovecot.so.0(o_stream_send+0x61) [0x7f8bb657e688] >> -> /usr/lib64/dovecot/libdovecot.so.0(+0x10dc2c) [0x7f8bb6583c2c] -> >> /usr/lib64/dovecot/libdovecot.so.0(+0x10ddd4) [0x7f8bb6583dd4] -> >> /usr/lib...
2004 Jun 14
1
vpopmail and open smtp relay
...xt; +#endif if (auth_reconnect) auth_connect_missing(); @@ -325,6 +328,9 @@ auth_request.protocol = protocol; auth_request.mech = request->mech; auth_request.id = request->id; +#ifdef PASSDB_VPOPMAIL + auth_request.client_ip = _client->ip; +#endif if (o_stream_send(request->conn->output, &auth_request, sizeof(auth_request)) < 0) { errno = request->conn->output->stream_errno;
2015 Feb 17
1
doveadm sync out of memory
...t; /usr/lib/dovecot/libdovecot.so.0(+0x72d53) [0x7f9d2057fd53] -> /usr/lib/dovecot/libdovecot.so.0(+0x7792a) [0x7f9d2058492a] -> /usr/lib/dovecot/libdovecot.so.0(+0x77be6) [0x7f9d20584be6] -> /usr/lib/dovecot/libdovecot.so.0(+0x78748) [0x7f9d20585748] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_sendv+0x8d) [0x7f9d20583d7d] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_send+0x1a) [0x7f9d20583e1a] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(+0x4c05) [0x7f9d1f6a0c05] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(openssl_iostream_bio_sync+0x21) [0x7f9d1f6a1881] -> /u...
2008 Mar 11
2
dovecot-1.1.rc3 segmentation fault in fetch_bodystructure
...{ const char *bodystructure; if (mail_get_special(mail, MAIL_FETCH_IMAP_BODYSTRUCTURE, &bodystructure) < 0) return -1; ---> before the segfault here we have bodystructure=0 and mail_get_special returns >=0 [..] if (o_stream_send(ctx->client->output, "BODYSTRUCTURE (", 15) < 0 || /*line 461*/ o_stream_send_str(ctx->client->output, bodystructure) < 0 || ---> here o_stream_send_str calls strlen(bodystructure=0), and strlen tries to access "Address 0x0" causing a segfault -- Add...
2015 Feb 13
0
doveadm sync out of memory
...t; /usr/lib/dovecot/libdovecot.so.0(+0x72d53) [0x7f9d2057fd53] -> /usr/lib/dovecot/libdovecot.so.0(+0x7792a) [0x7f9d2058492a] -> /usr/lib/dovecot/libdovecot.so.0(+0x77be6) [0x7f9d20584be6] -> /usr/lib/dovecot/libdovecot.so.0(+0x78748) [0x7f9d20585748] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_sendv+0x8d) [0x7f9d20583d7d] -> /usr/lib/dovecot/libdovecot.so.0(o_stream_send+0x1a) [0x7f9d20583e1a] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(+0x4c05) [0x7f9d1f6a0c05] -> /usr/lib/dovecot/modules/libssl_iostream_openssl.so(openssl_iostream_bio_sync+0x21) [0x7f9d1f6a1881] -> /u...
2017 Oct 12
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...ibssl_iost > ream_openssl.so(openssl_iostream_bio_sync+0x18) [0x7f8bb12d6af6] -> > /usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa52e) > [0x7f8bb12da52e] -> / > usr/lib64/dovecot/libssl_iostream_openssl.so(+0xa6ef) [0x7f8bb12da6ef] > -> /usr/lib64/dovecot/libdovecot.so.0(o_stream_sendv+0xc7) > [0x7f8bb657e765] -> > /usr/lib64/dovecot/libdovecot.so.0(o_stream_send+0x61) [0x7f8bb657e688] > -> /usr/lib64/dovecot/libdovecot.so.0(+0x10dc2c) [0x7f8bb6583c2c] -> > /usr/lib64/dovecot/libdovecot.so.0(+0x10ddd4) [0x7f8bb6583dd4] -> > /usr/lib64/dovecot/libdoveco...