1 Return-Path: <Sebastian@SSpaeth.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 017214196F0
\r
6 for <notmuch@notmuchmail.org>; Thu, 8 Apr 2010 00:59:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5
\r
12 tests=[BAYES_40=-0.001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id eaF9d-xTG9Xz for <notmuch@notmuchmail.org>;
\r
16 Thu, 8 Apr 2010 00:59:18 -0700 (PDT)
\r
17 Received: from homiemail-a13.g.dreamhost.com (caiajhbdccah.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id DA016431FC1
\r
20 for <notmuch@notmuchmail.org>; Thu, 8 Apr 2010 00:59:18 -0700 (PDT)
\r
21 Received: from sspaeth.de (unknown [195.190.188.219])
\r
22 by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id C48756A8076;
\r
23 Thu, 8 Apr 2010 00:59:16 -0700 (PDT)
\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);
\r
25 Thu, 08 Apr 2010 09:59:14 +0200
\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
\r
27 To: Dirk Hohndel <hohndel@infradead.org>, notmuch@notmuchmail.org
\r
28 Subject: Re: [PATCH] Fix code extracting the MTA from Received: headers
\r
29 In-Reply-To: <m31verxaka.fsf@x200.gr8dns.org>
\r
30 References: <m31verxaka.fsf@x200.gr8dns.org>
\r
31 Date: Thu, 08 Apr 2010 09:59:14 +0200
\r
32 Message-ID: <877hoil6i5.fsf@SSpaeth.de>
\r
34 Content-Type: text/plain; charset=us-ascii
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.13
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Thu, 08 Apr 2010 07:59:20 -0000
\r
49 On 2010-04-07, Dirk Hohndel wrote:
\r
51 > The previous code made too many assumptions about the (sadly not
\r
52 > standardized) format of the Received headers. This version should
\r
53 > be more robust to deal with different variations.
\r
55 This code might be useful for some, but I know it is not being useful
\r
56 for me. I use e.g. dreamhost.com as my mail provider and I never have my
\r
57 email domain name show up after the Received: by .....
\r
58 See my Received headers for your message below.
\r
60 On the other hand, it contains "for <sebastian@sspaeth.de>" stating the
\r
61 intended email address explicitely. IMHO, we should use this before we
\r
62 start some hand-wavy guessing.
\r
64 Also, I have the "X-Original-To: sebastian@sspaeth.de" header. Is that
\r
65 something that we could make use of before starting to guess?
\r
68 -----------------------------------------------------------------------
\r
69 Received: from segal.dreamhost.com (mx1.spunky.mail.dreamhost.com [208.97.132.47])
\r
70 by homiemail-mx12.g.dreamhost.com (Postfix) with ESMTP id 9A6602781BC
\r
71 for <sebastian@sspaeth.de>; Wed, 7 Apr 2010 13:38:48 -0700 (PDT)
\r
72 Received: from localhost (localhost [127.0.0.1])
\r
73 by segal.dreamhost.com (Postfix) with ESMTP id 9CF8A5341BE
\r
74 for <sebastian@sspaeth.de>; Wed, 7 Apr 2010 13:38:48 -0700 (PDT)
\r
75 Received: from connor.dreamhost.com ([208.97.132.81])
\r
76 by localhost (segal.dreamhost.com [208.97.132.104]) (amavisd-new, port 10024)
\r
77 with ESMTP id S3IlsMcJewY1 for <sebastian@sspaeth.de>;
\r
78 Wed, 7 Apr 2010 13:38:39 -0700 (PDT)
\r
79 Received: from olra.theworths.org (u15218177.onlinehome-server.com [82.165.184.25])
\r
80 by connor.dreamhost.com (Postfix) with ESMTP id 33B472C9806F
\r
81 for <sebastian@sspaeth.de>; Wed, 7 Apr 2010 13:38:39 -0700 (PDT)
\r
82 Received: from localhost (localhost [127.0.0.1])
\r
83 by olra.theworths.org (Postfix) with ESMTP id 1978741733A;
\r
84 Wed, 7 Apr 2010 13:38:38 -0700 (PDT)
\r
85 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
86 Received: from olra.theworths.org ([127.0.0.1])
\r
87 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
88 with ESMTP id ZbcQaubefNY6; Wed, 7 Apr 2010 13:38:37 -0700 (PDT)
\r
89 Received: from olra.theworths.org (localhost [127.0.0.1])
\r
90 by olra.theworths.org (Postfix) with ESMTP id 044574196F4;
\r
91 Wed, 7 Apr 2010 13:38:35 -0700 (PDT)
\r