]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
guess From address from Received headers
authorDirk Hohndel <hohndel@infradead.org>
Tue, 6 Apr 2010 19:45:57 +0000 (12:45 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 7 Apr 2010 01:47:40 +0000 (18:47 -0700)
When replying to a message notmuch tries to pick the correct From
 address by looking which one of a user's configured email addresses
 were included in To or Cc headers of the email that is being replied to.
 If none of the users email addresses are in the To or Cc headers we now
 try to guess from the first (chronologically, last) Received header
 which domain this email was received in and therefore which of the
 email addresses to use in a reply
 If that fails we still use the primary email as From email

Signed-off-by: Dirk Hohndel <hohndel@infradead.org>

No differences found