search for: mail_get_special

Displaying 20 results from an estimated 26 matches for "mail_get_special".

2009 Dec 29
2
Retrieve Physical Message Filename
...ldir and Layout=FS.In a plugin, i'm overriding "update_flags":void my_mail_update_flags(struct mail *_mail, enum modify_type modify_type, enum mail_flags flags)For this email which is having its flags updated, I need to retrieve the physical filename of the message.? I see where using:mail_get_special(_mail, MAIL_FETCH_UIDL_FILE_NAME,? &fname);...I can retrieve part of the filename, but without the ":2" and the flags part.Is there a method I can use to get the whole filename (without having to reassemble it myself).? I've looked around, and I'm guessing it exists, but I don...
2010 Sep 23
1
get MAIL_FETCH_UIDL_FILE_NAME after save a email
Hi Timo... I Try to get the name from the saved email, you said to me, to get this with the get_special, ok... thats work. I get the name with this: mail_get_special(t->save_ctx->dest_mail, MAIL_FETCH_UIDL_FILE_NAME, &fname); By i got some mistake... when i save a email that exist in the same directory, the email is rewrited with another name, but the get_special give me the old one name. Have another way to get the name from a saved email, after sa...
2010 Feb 23
2
panic in istream-raw-mbox.c - 2.0.beta3+
...ad950] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x5ad9a5] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x5ad008] -> /usr/local/lib/dovecot/libdovecot-storage.so.0 [0xe387a7] -> /usr/local/lib/dovecot/libdovecot-storage.so.0 [0xe406e4] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mail_get_special+0x1d) [0xdcaaed] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(index_mail_expunge+0x34) [0xe0aed4] -> /usr/local/lib/dovecot/libdovecot-storage.so.0(mail_expunge+0xf) [0xdcab9f] -> dovecot/imap(imap_expunge+0xc5) [0x8056eb5] -> dovecot/imap(cmd_close+0x73) [0x804eab3] -> dovecot/...
2008 Mar 11
2
dovecot-1.1.rc3 segmentation fault in fetch_bodystructure
Hi, another imap crash with latest dovecot. segmentation fault in fetch_bodystructure src/imap/imap-fetch.c static int fetch_bodystructure(struct imap_fetch_context *ctx, struct mail *mail, void *context ATTR_UNUSED) { 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 (&quo...
2019 Mar 25
2
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
...ovecot.so.0(message_parse_header_next+0x72) [0x7f170b11f3d2] -> /usr/lib/dovecot/libdovecot.so.0(message_parse_header+0x4f) [0x7f170b11fd7f] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_headers_get_envelope+0x138) [0x7f170b475448] -> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x1a1) [0x7f170b4796c1] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x69dd3) [0x7f170b42fdd3] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_get_special+0xd) [0x7f170b400a8d] -> /usr/bin/doveadm(+0x2dca8) [0x562378dd4ca8] -> /usr/bin/doveadm(+0x2ed7e) [0x562378dd5d7e] -> /usr/bin/...
2020 Feb 12
1
Dovecot process died with assertion failed
....so.0(+0xdea53) [0x7fee4c451a53] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.so.0(+0xdcd98) [0x7fee4c80bd98] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.so.0(+0xdd1a5) [0x7fee4c80c1a5] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x2c1) [0x7fee4c80c591] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.so.0(dbox_mail_get_special+0x48) [0x7fee4c7adeb8] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.so.0(+0x78f2b) [0x7fee4c7a7f2b] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot-storage.s...
2018 Jul 11
3
LMTP crashing heavily for my 2.2.36 installation
...-> /usr/lib64/dovecot/libdovecot.so .0(imap_bodystructure_write+0x3b1) [0x7ff5494753b1] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xb8ff5) [0x7ff5497e9ff5] -> /usr/lib64/dovecot/libdovecot- storage.so.0(+0xbbbdc) [0x7ff5497ecbdc] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x20d) [0x7ff5497ed05d] -> /usr/lib64/dovecot/lib dovecot-storage.so.0(mail_get_special+0xd) [0x7ff54977325d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_set_attachment_keywords+0x162) [0x7ff549773662] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xb9995) [0x7ff5497ea995] -> /...
2019 Mar 26
2
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
...0x7f170b11f3d2] -> >> /usr/lib/dovecot/libdovecot.so.0(message_parse_header+0x4f) >> [0x7f170b11fd7f] -> >> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_headers_get_envelope+0x138) >> [0x7f170b475448] -> >> /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x1a1) >> [0x7f170b4796c1] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x69dd3) >> [0x7f170b42fdd3] -> >> /usr/lib/dovecot/libdovecot-storage.so.0(mail_get_special+0xd) >> [0x7f170b400a8d] -> /usr/bin/doveadm(+0x2dca8) [0x562378dd4ca8] -> >> /usr/bin/dovea...
2019 Mar 25
0
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
...er_next+0x72) > [0x7f170b11f3d2] -> > /usr/lib/dovecot/libdovecot.so.0(message_parse_header+0x4f) > [0x7f170b11fd7f] -> > /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_headers_get_envelope+0x138) > [0x7f170b475448] -> > /usr/lib/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x1a1) > [0x7f170b4796c1] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x69dd3) > [0x7f170b42fdd3] -> > /usr/lib/dovecot/libdovecot-storage.so.0(mail_get_special+0xd) > [0x7f170b400a8d] -> /usr/bin/doveadm(+0x2dca8) [0x562378dd4ca8] -> > /usr/bin/doveadm(+0x2ed7e) [0x5623...
2018 Jul 12
0
LMTP crashing heavily for my 2.2.36 installation (and now with 2.3.2.1)
...3] -> /usr/lib64/dovecot/libdovecot.so.0(imap_bodystructure_write+0x3b1) [0x7ff42ca95f81] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xbd397) [0x7ff42ce2b397] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xc005c) [0x7ff42ce2e05c] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x20d) [0x7ff42ce2e4cd] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_special+0xd) [0x7ff42cdb0b6d] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_set_attachment_keywords+0x162) [0x7ff42cdb0f42] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xbdd25) [0x7ff42ce2bd25] -> /us...
2015 Apr 11
2
Why are here ignore a simple question?
On 04/11/2015 02:39 AM, Hardy Flor wrote: > I had been on 3/12/2015 pointed to the lack of documentation of "doveadm > save". It was in the changelog of 2.2.16. Unfortunately this is not unique. Dovecot's documentation is at all times significantly lagging behind the code, this is the MO for this project. I guess someone will say "contributions are welcome". There
2006 Jan 31
1
beta2: strange assert
...;, context=0xbb970) at message-parser.c:661 #7 0x00049db0 in index_mail_parse_headers (mail=0xbb970, headers=0x0) at index-mail-headers.c:365 #8 0x00048668 in index_mail_parse_bodystructure (mail=0xbb970, field=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:525 #9 0x00048b9c in index_mail_get_special (_mail=Variable "_mail" is not available. ) at index-mail.c:687 #10 0x00037354 in mbox_mail_get_special (_mail=0xbb970, field=MAIL_FETCH_IMAP_BODYSTRUCTURE) at mbox-mail.c:145 #11 0x00063e0c in mail_get_special (mail=Variable "mail" is not available. ) at mail.c:114 #12 0x00...
2016 Dec 06
0
Segmentation fault in imap_bodystructure_is_plain_7bit
...dy (mail=mail at entry=0x234be60, field=field at entry=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:1081 #4 0x00007f920a0fc498 in index_mail_parse_bodystructure (mail=mail at entry=0x234be60, field=field at entry=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:1222 #5 0x00007f920a0fcf1c in index_mail_get_special (_mail=_mail at entry=0x234be60, field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=value_r at entry=0x7ffc1518fde8) at index-mail.c:1379 #6 0x00007f920a0b29cd in dbox_mail_get_special (_mail=_mail at entry=0x234be60, field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=value_r at...
2017 Jun 08
0
Segmentation fault in imap_bodystructure_is_plain_7bit
...dy (mail=mail at entry=0x234be60, field=field at entry=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:1081 #4 0x00007f920a0fc498 in index_mail_parse_bodystructure (mail=mail at entry=0x234be60, field=field at entry=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:1222 #5 0x00007f920a0fcf1c in index_mail_get_special (_mail=_mail at entry=0x234be60, field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=value_r at entry=0x7ffc1518fde8) at index-mail.c:1379 #6 0x00007f920a0b29cd in dbox_mail_get_special (_mail=_mail at entry=0x234be60, field=field at entry=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=value_r at...
2019 Mar 26
4
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
...entry=0x5563c13e6de0) at index-mail-headers.c:513 cache_field_envelope = <optimized out> header_ctx = 0x0 stream = 0x5563c13eff60 old_offset = 0 ---Type <return> to continue, or q <return> to quit--- str = 0x0 #17 0x00007f3a7c6a76c1 in index_mail_get_special (_mail=_mail at entry=0x5563c13e6de0, field=<optimized out>, value_r=value_r at entry=0x7ffdc7616380) at index-mail.c:1432 mail = 0x5563c13e6de0 data = 0x5563c13e6f60 cache_fields = <optimized out> error = 0x7f3a7c6ac092 <search_more+882> "...
2013 Nov 05
1
Message parser loops on certain messages (e.g. with a trailing CR character)
...e-parser.c:1075 #11 0x00007f94f4c6a876 in index_mail_parse_body (mail=0xbecd00, field=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:895 #12 0x00007f94f4c6aedb in index_mail_parse_bodystructure (mail=0xbecd00, field=MAIL_CACHE_IMAP_BODYSTRUCTURE) at index-mail.c:1046 #13 0x00007f94f4c6b4a5 in index_mail_get_special (_mail=0xbecd00, field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7fff2141d958) at index-mail.c:1170 #14 0x00007f94f4bfab53 in maildir_mail_get_special (_mail=0xbecd00, field=MAIL_FETCH_IMAP_BODYSTRUCTURE, value_r=0x7fff2141d958) at maildir-mail.c:570 #15 0x00007f94f4c36ea1 in mail_get_special (mail=...
2023 Mar 13
1
dovecot crash with Panic: file istream-header-filter.c: line 663
...; /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_parse_headers+0x4e) [0x7fd12d5ce71e] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xdd21e) [0x7fd12d5d421e] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xdd2b3) [0x7fd12d5d42b3] -> /usr/lib64/dovecot/libdovecot-storage.so.0(index_mail_get_special+0x20d) [0x7fd12d5d46cd] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_get_special+0xe) [0x7fd12d553a1e] -> /usr/bin/doveadm(+0x3893c) [0x5650816db93c] -> /usr/bin/doveadm(+0x3e12e) [0x5650816e112e] -> /usr/bin/doveadm(+0x3bba1) [0x5650816deba1] -> /usr/bin/doveadm(doveadm_cmd_ve...
2017 Jan 15
0
Panic: file istream-zlib.c: ...assertion failed: (ret == -1) / core dump on signal 6 / zlib
.../usr/local/lib/dovecot/libdovecot-storage.so.0 #12 0x0000000010a9d365 in mail_get_hdr_stream_because () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #13 0x0000000010b0cbe5 in index_mail_parse_headers () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #14 0x0000000010b0f9d9 in index_mail_get_special () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #15 0x0000000010b0f7b9 in index_mail_get_special () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #16 0x0000000010a9d49f in mail_get_special () from /usr/local/lib/dovecot/libdovecot-storage.so.0 #17 0x000000000041cf1d in imap_fetch...
2007 May 16
4
index-related crash in dovecot 1.0.0
...imap [6126360] [0x80b6d6b] -> imap [6126360] [0x80b6769] -> imap [6126360] [0x808abda] -> imap [6126360](message_parse_header+0x56) [0x80b2166] -> imap [6126360](index_mail_parse_headers+0x113) [0x808ad03] -> imap [6126360] [0x80891bb] -> imap [6126360](index_mail_get_special+0x112) [0x8089632] -> imap [6126360] [0x806dc3b] -> imap [6126360](mail_get_special+0x16) [0x80a7cf6] -> imap [6126360] [0x805dc2f] -> imap [6126360](imap_fetch+0xf3) [0x805d7b3] -> imap [6126360](cmd_fetch+0xff) [0x805845f] -> imap [6126360](cmd_uid+0x52) [0x805...
2005 Sep 08
1
1.0alpha1: another imap core, no assert
...l=Variable "_mail" is not available. ) at index-mail-headers.c:614 #2 0x0005ae34 in mail_get_header_stream (mail=Variable "mail" is not available. ) at mail.c:97 #3 0x0004192c in index_mail_headers_get_envelope (mail=0xae448) at index-mail-headers.c:401 #4 0x00040674 in index_mail_get_special (_mail=Variable "_mail" is not available. ) at index-mail.c:679 #5 0x00035b08 in mbox_mail_get_special (_mail=0xae448, field=MAIL_FETCH_IMAP_ENVELOPE) at mbox-mail.c:140 #6 0x0005ae70 in mail_get_special (mail=Variable "mail" is not available. ) at mail.c:113 #7 0x0002285...