dovecot: Make sure we parse everything so they can be saved to c...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Oct 2 22:27:34 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/c4205f6ac88f
changeset: 6526:c4205f6ac88f
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 02 22:27:30 2007 +0300
description:
Make sure we parse everything so they can be saved to cache.
diffstat:
1 file changed, 6 insertions(+)
src/lib-storage/index/index-mail-headers.c | 6 ++++++
diffs (16 lines):
diff -r ae684f2e0534 -r c4205f6ac88f src/lib-storage/index/index-mail-headers.c
--- a/src/lib-storage/index/index-mail-headers.c Mon Oct 01 18:14:41 2007 +0300
+++ b/src/lib-storage/index/index-mail-headers.c Tue Oct 02 22:27:30 2007 +0300
@@ -350,6 +350,12 @@ index_mail_cache_parse_init(struct mail
i_assert(mail->data.parser_ctx == NULL);
+ /* we're doing everything for now, figure out later if we want to
+ save them. */
+ mail->data.save_sent_date = TRUE;
+ mail->data.save_bodystructure_header = TRUE;
+ mail->data.save_bodystructure_body = TRUE;
+
tee = tee_i_stream_create(input);
input = tee_i_stream_create_child(tee);
input2 = tee_i_stream_create_child(tee);
More information about the dovecot-cvs
mailing list