]> git.notmuchmail.org Git - notmuch/commit
Make Received: header special in notmuch_message_file_get_header
authorDirk Hohndel <hohndel@infradead.org>
Mon, 26 Apr 2010 19:58:34 +0000 (12:58 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 26 Apr 2010 21:44:06 +0000 (14:44 -0700)
commit5b8b0377cb68904eac8fc58a933d47f605a81725
treeb431829755244f59ab287f5b6e29e53289638850
parent4b34effca5a7dcde66737ab62f64d9d76213209a
Make Received: header special in notmuch_message_file_get_header

With this patch the Received: header becomes special in the way
we treat headers - this is the only header for which we concatenate
all the instances we find (instead of just returning the first one).

This will be used in the From guessing code for replies as we need to
be able to walk ALL of the Received: headers in a message to have a
good chance to guess which mailbox this email was delivered to.

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
lib/message-file.c
lib/notmuch-private.h