Displaying 3 results from an estimated 3 matches for "i_stream_create_file".
Did you mean:
o_stream_create_file
2006 Sep 06
3
dovecot ignoring config file contents -- istream.c problem?
...g file (like hello=test
; on my desktop dovecot complains on that line, it is completly
ignored on my embedded device). But when I delete the config file,
dovecot complains.
So I've done some printf-debugging in lib-settings/settings.c, and
fount out that:
control flow reaches the line
input = i_stream_create_file(fd, default_pool, 2048, TRUE);
but then no single iteration of the while loop is executed.
Do you have any idea what could be wrong here? Any help is greatly
appreciated ! Thank you.
Pavol Marko
2014 Apr 24
1
maildir compressed message fix patch
...t compression_handler * handler;
+ struct istream * fstream;
+ struct istream * cstream;
fname = strrchr(path, '/');
i_assert(fname != NULL);
@@ -650,13 +655,29 @@
info = strchr(fname, MAILDIR_INFO_SEP);
if (info == NULL) info = "";
+ fstream = i_stream_create_file(path, 1024);
+ handler = compression_detect_handler(fstream);
+ if (handler != NULL && handler->create_istream != NULL)
+ {
+ cstream = handler->create_istream(fstream, TRUE);
+ if (i_stream_stat(cstream, TRUE, &stp) < 0)
+ {
+ return -1;
+ }
+ st = *stp;...
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