Live.comメール サードパーティメールソフトのメールヘッダを勝手に削除する独自仕様を導入?

【期間限定ネタ】Windows 10 環境での Outlook.com / Gmail と Office Outlook 2013 / Mozilla Thunderbird - 脳脂肪のパクリメモ
「どなたか検証のお願い」メールクライアントからの送信メールでBCC宛に配信されない - Microsoft コミュニティ

メールクライアント(Thunderbird、Sylpheedなど)でOutlookメール(Outlook.comじゃない)経由でメールを送信すると、BCC宛のメールが配信されないと云う事象に出会ってます。

どういうことだ?
という訳で試してみた


送信前のメール

Received: from BLU436-SMTP153 (10.162.17.173) by
 HK2PR04MB0897.apcprd04.prod.outlook.com (10.165.58.19) with Microsoft SMTP
 Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id
 15.1.599.9 via Mailbox Transport; Tue, 6 Sep 2016 05:32:10 +0000
From: "************@outlook.com" <************@outlook.com>
Subject: test
To: <************@outlook.com>
Bcc: <************@gmail.com>
Message-ID: <HK2PR04MB08972270BAD6A89A5D705780DAF90
@HK2PR04MB0897.apcprd04.prod.outlook.com>
Date: Tue, 6 Sep 2016 14:32:00 +0900
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101
 Thunderbird/38.7.2

Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
Return-Path: ************@outlook.com
X-OriginalArrivalTime: 06 Sep 2016 05:32:03.0006 (UTC) FILETIME=[FF6575E0:01D207FF]
X-MS-Exchange-Organization-Network-Message-Id: ea99a42c-b95b-47be-dfdf-08d3d6172699
X-MS-Exchange-Organization-AuthSource: HK2PR04MB0897.apcprd04.prod.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-Microsoft-Original-Message-ID: <57CE54D0.10402@outlook.com>
MIME-Version: 1.0

$B!&&X!&$b$U$i$;$m(B

到着メール

From: =?iso-2022-jp?B?GyRCJGIkVRsoQiAbJEIkYiRVGyhC?=
    <************@outlook.com>
To: =?iso-2022-jp?B?GyRCJGIkVRsoQiAbJEIkYiRVGyhC?= <************@outlook.com>
Subject: test
Thread-Topic: test
Thread-Index: AQHSCAAGYIE4GrhnPU+JMQBPHMnwkg==
Date: Tue, 6 Sep 2016 05:32:14 +0000
Message-ID: <HK2PR04MB08972270BAD6A89A5D705780DAF90
@HK2PR04MB0897.apcprd04.prod.outlook.com>
Accept-Language: ja-JP, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-slblob-mailprops:略
authentication-results: spf=softfail (sender IP is 10.152.250.60)
 smtp.mailfrom=outlook.com; outlook.com; dkim=none (message not signed)
 header.d=none;outlook.com; dmarc=fail action=none header.from=outlook.com;
received-spf: SoftFail (protection.outlook.com: domain of transitioning
 outlook.com discourages use of 10.152.250.60 as permitted sender)
x-ms-exchange-messagesentrepresentingtype: 1
x-eopattributedmessage: 1
X-Forefront-Antispam-Report-Untrusted: CIP:10.152.250.60;IPV:NLI;CTRY:;EFV:NLI;SFV:NSPM;SFS:(10019020)(98900003);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2APC01HT064;
H:HK2PR04MB0897.apcprd04.prod.outlook.com;FPR:;SPF:None;LANG:ja;
X-Microsoft-Exchange-Diagnostics-untrusted: 1;略
X-MS-Office365-Filtering-Correlation-Id: ec1cdffb-fe2b-450d-984f-08d3d6172e97
X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:(1601124038)(1601125047);SRVR:SG2APC01HT064;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:SG2APC01HT064;BCL:0;PCL:0;RULEID:;
SRVR:SG2APC01HT064;BCL:0;PCL:0;RULEID:(82015046);SRVR:PU1APC01HT031;BCL:0;PCL:0;RULEID:;SRVR:PU1APC01HT031;
x-forefront-prvs: 0057EE387C
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
Content-Type: text/plain; charset="iso-2022-jp"
Content-ID: <C015C542AA680E4984AB7383A3642E10@apcprd04.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT064
Return-Path: ************@outlook.com
X-OriginalArrivalTime: 06 Sep 2016 05:32:17.0941 (UTC) FILETIME=[084C5C50:01D20800]
X-MS-Exchange-Organization-Network-Message-Id: ec1cdffb-fe2b-450d-984f-08d3d6172e97
X-EOPTenantAttributedMessage: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
CMM-sender-ip: ************
CMM-sending-ip: ************
CMM-Authentication-Results: hotmail.com; spf=pass (sender IP is
 ************; identity alignment result is pass and alignment mode is
 relaxed) smtp.mailfrom=************@outlook.com; dkim=pass (identity
 alignment result is pass and alignment mode is relaxed) header.d=outlook.com;
 x-hmca=pass header.id=************@outlook.com
CMM-X-SID-PRA: ************@outlook.com
CMM-X-AUTH-Result: PASS
CMM-X-SID-Result: PASS
CMM-X-Message-Status: n:n
CMM-X-Message-Delivery: Vj0xLjE7dXM9MTtsPTE7YT0xO0Q9MDtHRD0wO1NDTD0w
CMM-X-Message-Info: 略
X-MS-Exchange-Organization-PCL: 2
X-MS-Exchange-Transport-CrossTenantHeadersStripped: PU1APC01FT006.eop-APC01.prod.protection.outlook.com
X-Microsoft-Exchange-Diagnostics: 1;略
X-Forefront-Antispam-Report: EFV:NLI;SFV:NSPM;SFS:(88900001);DIR:INB;SFP:;SCL:1;SRVR:PU1APC01HT031;H:SNT004-MC4F27.hotmail.com;FPR:;SPF:None;LANG:ja;
X-Microsoft-Exchange-Diagnostics: 1;PU1APC01HT031;略
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(8291501002);SRVR:PU1APC01HT031;
X-Microsoft-Exchange-Diagnostics: 1;PU1APC01HT031;略
X-MS-Exchange-Organization-SCL: 1
X-Microsoft-Exchange-Diagnostics: 1;PU1APC01HT031;略
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2016 05:32:22.7712
 (UTC)
X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT031
X-MS-Exchange-Organization-AuthSource: PU1APC01FT006.eop-APC01.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-OriginatorOrg: outlook.com
X-MS-Exchange-Transport-EndToEndLatency: 00:00:03.1486611
X-Microsoft-Exchange-Diagnostics:
    1;HK2PR04MB0897;略
X-Microsoft-Antispam-Mailbox-Delivery:
    dkl:0;rwl:0;ex:0;auth:1;dest:I;WIMS-SenderIP:************;WIMS-SPF:outlook%2ecom;WIMS-DKIM:outlook%2ecom;WIMS-822:************%40outlook%2ecom;WIMS-PRA:************%40outlook%2ecom;WIMS-AUTH:PASS;ENG:(102400050)(102415016);OFR:SpamFilterPass;
MIME-Version: 1.0

=1B$B!&&X!&$b$U$i$;$m=1B(B

あれ…User-AgentやX-Microsoft-Original-Message-ID が飛んでる?

UA4
試しにUA偽装してみる

詳しいやり方はこちら
Thunderbird で メーラーを偽装する方法 | クマがいちごを食べていた

To: <************@outlook.com>
From: "************@outlook.com" <************@outlook.com>
Subject: BCC TYEE
X-Mailer: Microsoft Office Outlook, Build 12.0.4210
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1165

Message-ID: <HK2PR04MB089779BB30100953F0B02BFBDAF90@HK2PR04MB0897.apcprd04.prod.outlook.com>
Date: Tue, 6 Sep 2016 15:02:31 +0900
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
Return-Path: ************@outlook.com
X-OriginalArrivalTime: 06 Sep 2016 06:02:33.0715 (UTC) FILETIME=[42957C30:01D20804]
X-MS-Exchange-Organization-Network-Message-Id: 57d26cf1-e71c-4ee0-f2f9-08d3d61b6a3e
X-MS-Exchange-Organization-AuthSource: HK2PR04MB0897.apcprd04.prod.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-Microsoft-Original-Message-ID: <57CE5BF7.7010102@outlook.com>
MIME-Version: 1.0

$B$H$I$+$J$$!&&X!&(B

送信前のこの部分から赤字の個所が消えた!?

どうやら、live.com のSMTPサーバーが独自仕様で
X-Mailer
X-Mimeole
X-Microsoft-Original-Message-ID
User-Agent
などのヘッダを削除してる模様・ω・?

Bccの場合、Delivered-To ヘッダにメールアドレスが無い場合 Recpt To ヘッダから勝手に削除してる?

・ω・ もしかして、Spamメールサーバー対策?
Web Browser ならまだしも、プロトコルの独自仕様とか意味わかんないw

おすすめ

1件の返信

  1. 名無しのプログラマー より:

    透過する内容をホワイトリストにするんすかね

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です