Displaying 6 results from an estimated 6 matches for "i_stream_stat".
2009 Mar 21
1
Dovecot error: Panic: i_stream_stat()
...ello!
I'm testing the virtual mail boxes using telnet. The telnet seesion
completes 100% okay with no errors at all.
Though, when postfix has to relay the message to dovecot, i get the
following error in my delivery log (/home/vmail/dovecot-delivery):
deliver(john): 2009-03-21 16:23:00 Panic: i_stream_stat() used for
non-blocking seekable stream
deliver(john): 2009-03-21 16:23:00 Error: Raw backtrace:
/usr/lib/dovecot/deliver [0x80a4c7a] -> /usr/lib/dovecot/deliver [0x80a4ae9]
-> /usr/lib/dovecot/deliver [0x80aa4fc] ->
/usr/lib/dovecot/deliver(mbox_sync_has_changed+0x100) [0x806deb0] ->
/...
2006 Feb 28
0
Postfix: Command died with status 89: "/usr/lib/dovecot/deliver"
...er
than time. The 15:19:11 message was a company wide announcement and
the other 4 servers (identical configuration) were able to deliver it.
Feb 26 20:24:46 rental deliver: open(/tmp/dovecot.deliver..
1141003486.9152.94b403f750d9ce0b) failed: Permission denied
Feb 26 20:24:46 rental deliver: i_stream_stat() failed with mbox file
(read-only mbox stream): Permission denied
Feb 26 20:24:46 rental deliver: Can't sync delivery mail
Feb 27 09:57:13 rental deliver: open(/tmp/dovecot.deliver..
1141052233.12958.20786c4677df8930) failed: Permission denied
Feb 27 09:57:13 rental deliver: i_stream_stat()...
2014 Apr 23
1
zlib maildir reindex broken
...re broken when using zlib and maildir. If messages are re-indexed, the INTERNALDATE of all messages is set to the time the re-index is done.
The problem seems to be in src/plugins/zlib/zlib-plugin.c in the function zlib_mail_cache_open.
During a reindex maildir_mail_get_received_date() does an i_stream_stat on the the i_stream_seekable stream created in zlib_mail_cache_open, but this istream does not know about the original maildir message file and always returns the current time for the file's stat times.
This is also broken on initial index, but if mail is indexed when it's received (ours i...
2020 Aug 15
0
2.3.11.3: dsync failure
..._fatal_handler[0x7f1179173c3d] ->
#3 i_panic[0x7f1179173e27] ->
#4 i_stream_read_memarea[0x7f1179187b29] ->
#5 read_more[0x7f117919519b] ->
#6 read_from_buffer[0x7f117919535a] ->
#7 i_stream_seekable_read[0x7f117919582e] ->
#8 i_stream_seekable_stat[0x7f1179195cdf] ->
#9 i_stream_stat[0x7f1179188764] ->
#10 i_stream_limit_stat[0x7f1179192380] ->
#11 i_stream_stat[0x7f1179188764] ->
#12 i_stream_default_stat[0x7f117918a0a3] ->
#13 i_stream_default_get_size[0x7f117918a282] ->
#14 i_stream_get_size[0x7f1179188811] ->
#15 mdbox_save_begin[0x7f11792edb85] ->...
2014 Apr 24
1
maildir compressed message fix patch
...R_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; /* dumb copy */
+ i_stream_unref(&cstream);
+ }
+ else
+ {
if (stat(path, &st) < 0) {
if (errno == ENOENT)
return 0;
mail_storage_set_cri...
2006 Apr 26
1
problems getting dovecot-LDA to work
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've setup a test machine and have been playing with dovecot-1.0beta7
and dovecot-lda in preparation for a migration from 0.99.x series.
(hopefully with the ability to support imap-quotas)
anyways, i've got it all compiled fine (as far as I can tell) and
following the directions on the wiki for setting up dovecot LDA with
sendmail. (I've