search for: i_stream_read_next_line

Displaying 15 results from an estimated 15 matches for "i_stream_read_next_line".

2012 Aug 08
5
Deleting metadata smashes file dovecot.dict
Hi, I am using dovecot (see dovecot -n output below) with metadata plugin in my own plugin. I want to insert and delete some large metadata (>4KiB). It seems, that the delete in a second call of my plugin smashes the file dovecot.dict in users dir: 1st call: *dovecot.dict is empty -delete metadata 1 -delete metadata 2 -insert metadata 1 ~8KiB -insert metadata 2 <1KiB *dovecot.dict
2017 Oct 13
2
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...6 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== Invalid read of size 8 Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? at 0x54F2E38: i_stream_next_line (istream.c:428) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x54F2EFB: i_stream_read_next_line (istream.c:449) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x441D68: server_connection_print_log (server-connection.c:305) Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947==??? by 0x442154: server_connection_input_one (server-connection....
2008 Apr 19
2
mailtrain with dovecot antispam plugin
Hello all, and Johannes if you're around, I was trying to set up the "new" antispam plugin with the mailtrain backend, and i was trying to use the sendmail binary that's part of a qmail system. The message wouldn't get sent and i kept getting exit error 100 from the /var/qmail/bin/sendmail binary. To try to figure out what was happening, i mean a fake sendmail program,
2012 Apr 30
2
Dovecot/doveadm crash
...-> /usr/local/lib/dovecot/libdovecot.so.0(i_stream_get_buffer_space+0x82) [0x7fb73465c522] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x4b1c8) [0x7fb73465e1c8] -> /usr/local/lib/dovecot/libdovecot.so.0(i_stream_read+0x69) [0x7fb73465bb69] -> /usr/local/lib/dovecot/libdovecot.so.0(i_stream_read_next_line+0x1d) [0x7fb73465c04d] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mdbox_purge+0x921) [0x7fb7348d7d71] -> doveadm() [0x40e1e6] -> doveadm() [0x40e018] -> doveadm() [0x40ea83] -> doveadm(doveadm_mail_try_run+0x141) [0x40eef1] -> doveadm(main+0x3c1) [0x415911] -> /lib...
2009 Oct 15
3
1.2.6 Spurious pread()/stream errors/index corruption
...ace: /NOC4/dovecot/sbin/dovecot [0x41ad42] -> /NOC4/dovecot/sbin/dovecot(default_fatal_handler+0x34) [0x41ae54] -> /NOC4/dovecot/sbin/dovecot [0x41a486] -> /NOC4/dovecot/sbin/dovecot [0x41d9b0] -> /NOC4/dovecot/sbin/dovecot(i_stream_read+0x4c) [0x41cbbc] -> /NOC4/dovecot/sbin/dovecot(i_stream_read_next_line+0x28) [0x41d408] -> /NOC4/dovecot/sbin/dovecot(settings_read+0x129) [0x4174d9] -> /NOC4/dovecot/sbin/dovecot(master_settings_read+0x89) [0x4155a9] -> /NOC4/dovecot/sbin/dovecot(main+0x1d2) [0x413162] -> /lib/libc.so.6(__libc_start_main+0xe6) [0x2b6b8258c5c6] -> /NOC4/dovecot/sbin/dov...
2017 Oct 17
2
Replication between different versions of dovecot
...hed doveadm-server: Program terminated with signal SIGSEGV, Segmentation fault. #0 i_stream_next_line (stream=stream at entry=0x0) at istream.c:428 428 istream.c: No such file or directory. (gdb) bt #0 i_stream_next_line (stream=stream at entry=0x0) at istream.c:428 #1 0x00007f60244306df in i_stream_read_next_line (stream=0x0) at istream.c:449 #2 0x0000560304f22e79 in server_connection_print_log (conn=0x560305e930f8) at server-connection.c:305 #3 0x0000560304f238af in server_connection_input_one (conn=<optimized out>) at server-connection.c:405 #4 server_connection_input (conn=<optimized out>)...
2017 Oct 12
2
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
No. Compiling entirely from -git source (on one system) and a Gentoo ebuild on another two. Reuben On 12/10/2017 10:38 PM, Aki Tuomi wrote: > Are you using the xi packages? If yes, can you please send me one fresh core? > > Aki > >> On October 12, 2017 at 8:43 AM Aki Tuomi <aki.tuomi at dovecot.fi> wrote: >> >> >> We'll take a look >>
2017 Oct 14
0
Core Dumps with dovecot-2.2 -git as of 2.2.devel (eaf276b33)
...erstorm.reub.net dovecot: doveadm: Error: ==16947== Invalid read of size 8 > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== at 0x54F2E38: i_stream_next_line (istream.c:428) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x54F2EFB: i_stream_read_next_line (istream.c:449) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x441D68: server_connection_print_log (server-connection.c:305) > Oct 13 23:45:06 thunderstorm.reub.net dovecot: doveadm: Error: ==16947== by 0x442154: server_connection_input_one (server-conne...
2009 Jun 15
1
Dovecot Antispam plugin
...E(NOTPOSSIBLE) 204 "Failed to read mail 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...
2010 Oct 27
0
lmtp proxy signal 11 in dovecot 2.0.6
...INING 250 2.1.0 OK RCPT TO:<user> 550 5.1.1 <user> User doesn't exist: user ..signal 11 within the LMTP proxy. Trace from lmtp proxy: #0 0x00007f7a979f24d3 in i_stream_next_line () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #1 0x00007f7a979f25b8 in i_stream_read_next_line () from /usr/lib64/dovecot/libdovecot.so.0 No symbol table info available. #2 0x00007f7a97c3125c in lmtp_client_input () from /usr/lib64/dovecot/libdovecot-lda.so.0 No symbol table info available. #3 0x00007f7a979f75db in io_loop_handler_run () from /usr/lib64/dovecot/libdovecot.so.0 No symbol...
2017 Oct 18
0
Replication between different versions of dovecot
...ram terminated with signal SIGSEGV, Segmentation fault. > #0 i_stream_next_line (stream=stream at entry=0x0) at istream.c:428 > 428 istream.c: No such file or directory. > (gdb) bt > #0 i_stream_next_line (stream=stream at entry=0x0) at istream.c:428 > #1 0x00007f60244306df in i_stream_read_next_line (stream=0x0) at istream.c:449 > #2 0x0000560304f22e79 in server_connection_print_log (conn=0x560305e930f8) at server-connection.c:305 > #3 0x0000560304f238af in server_connection_input_one (conn=<optimized out>) at server-connection.c:405 > #4 server_connection_input (conn=<opt...
2006 Mar 16
1
Segfault when parsing configuration on x86_64
...Here is the error : # dovecot -F Unexpected eof found when reading file 'UNOPENED' (Errcode: 0) Segmentation fault (core dumped) And the backtrace (I don't have symbols for all libs, sorry) : (gdb) bt #0 i_stream_next_line (stream=0x52c3a8) at istream.c:182 #1 0x000000000040e345 in i_stream_read_next_line (stream=0x52c3a8) at istream.c:201 #2 0x000000000040aaa9 in settings_read (path=0x41798e "/etc/dovecot.conf", section=0x0, callback=0x409580 <parse_setting>, sect_callback=0x409a50 <parse_section>, context=0x7fbffff880) at settings.c:222 #3 0x000000000040a0e1...
2006 Apr 28
1
imaptest, with options!
I hacked some command line options into imaptest. I dont think I broke it.. Place into dovecot-source root as usual and compile with: gcc imaptest.c -o imaptest -Wall -W -I. -Isrc/lib -DHAVE_CONFIG_H src/lib/liblib.a As per Timo's instructions. # imaptest -h imaptest [USER at IP:PORTNO] [pass=PASSWORD] [mbox=MBOX] [clients=CC] [msgs=NMSG] [use_authenticate] [PORTNO] USER = template for
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
2010 Apr 09
4
Patch: support URLAUTH, BURL, CATENATE
...reate_fd(fd, 4096, FALSE); + if (is == NULL) + return NULL; + + keys = hash_table_create(pool, pool, 16, strcase_hash, + (hash_cmp_callback_t *) strcasecmp); + if (keys == NULL) { + i_stream_destroy(&is); + return NULL; + } + + i_stream_set_return_partial_line(is, TRUE); + while ((line = i_stream_read_next_line(is)) != NULL) { + const char *sep; + + if (*line == '\0' || *line == '#') + continue; + + /* future-proofing */ + if (strcmp(line, URLAUTH_KEYS_FILENAME" version 1") == 0) + continue; + + /* key:mailbox, both nonempty */ + sep = strchr(line, ':'); + if (...