Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6526:c4205f6ac88f HEAD
Make sure we parse everything so they can be saved to cache.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 02 Oct 2007 22:27:30 +0300 |
parents | ae684f2e0534 |
children | ba65c858b7dd |
files | src/lib-storage/index/index-mail-headers.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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);