RE: SMTP RFC: "MUST NOT" change or delete Received header

Christian Huitema <huitema@microsoft.com> Sun, 30 March 2014 01:02 UTC

Return-Path: <huitema@microsoft.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AE961A068D for <ietf@ietfa.amsl.com>; Sat, 29 Mar 2014 18:02:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q_4MLdkyf8ao for <ietf@ietfa.amsl.com>; Sat, 29 Mar 2014 18:02:15 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0186.outbound.protection.outlook.com [207.46.163.186]) by ietfa.amsl.com (Postfix) with ESMTP id C866A1A0750 for <ietf@ietf.org>; Sat, 29 Mar 2014 18:02:13 -0700 (PDT)
Received: from BLUPR03MB424.namprd03.prod.outlook.com (10.141.78.152) by BLUPR03MB424.namprd03.prod.outlook.com (10.141.78.152) with Microsoft SMTP Server (TLS) id 15.0.898.11; Sun, 30 Mar 2014 01:02:09 +0000
Received: from BLUPR03MB424.namprd03.prod.outlook.com ([10.141.78.152]) by BLUPR03MB424.namprd03.prod.outlook.com ([10.141.78.152]) with mapi id 15.00.0898.005; Sun, 30 Mar 2014 01:02:09 +0000
From: Christian Huitema <huitema@microsoft.com>
To: Hector Santos <hsantos@isdg.net>, Scott Brim <scott.brim@gmail.com>, IETF discussion list <ietf@ietf.org>
Subject: RE: SMTP RFC: "MUST NOT" change or delete Received header
Thread-Topic: SMTP RFC: "MUST NOT" change or delete Received header
Thread-Index: AQHPSxxqWZXCjPBWeUKwdVwj9GMYKpr30qmAgAAuPQCAAD1xgIAAB4YAgAABrwCAAITQ8A==
Date: Sun, 30 Mar 2014 01:02:09 +0000
Message-ID: <775a8b23bb97437992aa191457a1225b@BLUPR03MB424.namprd03.prod.outlook.com>
References: <mailman.1570.1395964793.2468.ietf@ietf.org> <53366F34.8050501@ageispolis.net> <5336979B.6000102@cisco.com> <0AF4D5B8-C99C-4944-87FA-A458D6CE67D9@nominum.com> <5336F1EF.1020203@dcrocker.net> <CAPv4CP9nFmYfondSrqA7ETkhvCMe4YrqRjOdGZuPiLz2kZzXrw@mail.gmail.com> <5336F9A8.5050305@isdg.net>
In-Reply-To: <5336F9A8.5050305@isdg.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [24.16.156.113]
x-forefront-prvs: 0166B75B74
x-forefront-antispam-report: SFV:NSPM; SFS:(10009001)(6009001)(428001)(199002)(189002)(51704005)(81686001)(94946001)(83322001)(86362001)(98676001)(95416001)(87266001)(74366001)(93136001)(66066001)(56816005)(83072002)(93516002)(87936001)(74876001)(81816001)(50986001)(85852003)(86612001)(53806001)(2656002)(47736001)(20776003)(80976001)(49866001)(76482001)(76786001)(47976001)(94316002)(81542001)(31966008)(77982001)(51856001)(81342001)(56776001)(97336001)(54316002)(46102001)(33646001)(76796001)(4396001)(80022001)(65816001)(76576001)(74316001)(85306002)(97186001)(63696002)(74502001)(79102001)(54356001)(59766001)(92566001)(74706001)(74662001)(95666003)(47446002)(90146001)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB424; H:BLUPR03MB424.namprd03.prod.outlook.com; FPR:EEA3F09C.14FA55D9.B1D12D5B.C4FAEA61.2030D; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (: microsoft.com does not designate permitted sender hosts)
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.onmicrosoft.com
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/kmfkbRicbCYmZnyOs3eH0NaoF1o
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Mar 2014 01:02:17 -0000

>> I think the privacy beach from exposing intermediate steps is small,
>> and in some cases knowledge of the routing may be required by law.
>
> That has always been my engineering understanding, and it predated the 
> IETF RFC electronic mail format.

I flagged that in the perpass draft that I wrote back in November. Exposing the *intermediate* steps is pretty much harmless, but exposing the *initial submission* step does convey some interesting information. If you use the combination of IMAP and SMTP submission, the traces convey the current IP address of your laptop, or record its successive IP addresses as you move.

When SMTP was designed, the practice was to submit your mail directly from the server. The web based servers and many corporate servers still follow that model. The first SMTP step was from a fairly well known server to the next relay. There is no particular privacy issue with the trace field in that case, since the mail server name can pretty much be inferred from the sender's address, and the IP address can be retrieved from the DNS. The same is true for intermediate relays, which are (or should be) publicly advertised in MX records. 

Now look at what happens If you use IMAP or POP3 to retrieve your mail on your laptop, or tablet, or phone. IMAP and POP3 do not enable mail submission, so you will normally use SMTP. Your laptop becomes the first step in the transmission chain. The first "Received" header carries its IP address, the laptop hostname, the time of submission, and very often other information like the type of security being used. This will be available to anyone who can observe the mail in transit. Should you send an email to a mailing list, the information becomes available to all mailing list recipients.

There is a strong case that the "SMTP submission" information should be removed from the trace fields for privacy reasons.

-- Christian Huitema