Hotmail / Outlook (Exchange?) mails not parse able leading to failed decryption
Users regularly run into problems if sending mails from accounts hosted a Hotmail or Outlook. See issues #211 (closed), #246 (closed) and #331 (closed) for details. This might be due to the use of MS Exchange.
We should verify this, and invent and introduce a better approach to this problem, as the current technique, checking the X-OriginatorOrg for matching domains is very brittle, at least.
Leaving this without a milestone for now, as I'm not sure right now, who'll take care of this and when etc.
Some headers, which might be helpful to find a more generic solution:
Return-Path: <hhh@outlook365domain.org>
Delivered-To: listname@schleuder.domain.com
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.47.34.64; helo=nam01-by2-obe.outbound.protection.outlook.com; envelope-from=hhh@outlook365domain.org; receiver=<UNKNOWN>
Authentication-Results: schleuderhost.domain.com;
dkim=pass (1024-bit key; unprotected) header.d=DemocracyFund.onmicrosoft.com header.i=@DemocracyFund.onmicrosoft.com header.b="SwATxlWJ";
dkim-atps=neutral
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0064.outbound.protection.outlook.com [104.47.34.64])
by schleuderhost.domain.com (Postfix) with ESMTPS id 3D7EC17FC8C
for <listname@schleuder.domain.com>; Wed, 28 Feb 2018 23:03:55 +0000 (UTC)
Received: from DM5PR12MB2486.namprd12.prod.outlook.com (52.132.141.141) by
DM5PR12MB1177.namprd12.prod.outlook.com (10.168.236.148) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id
15.20.527.15; Wed, 28 Feb 2018 23:03:53 +0000
Received: from DM5PR12MB2486.namprd12.prod.outlook.com
([fe80::9c3b:6781:c100:9817]) by DM5PR12MB2486.namprd12.prod.outlook.com
([fe80::9c3b:6781:c100:9817%13]) with mapi id 15.20.0527.021; Wed, 28 Feb
2018 23:03:47 +0000
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [x.x.x.50]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;DM5PR12MB1177;6:7fiAt1K3ReR/htqVv8q96rOcnAgFVRd6RHqz8WzzxtuzkADLe2YVteDbiETAixYUwKtzHyUugVGU3gpFeVKfALey0d9FgM8Zd6RY2P7mI09QjFoiooNUH1JlTcFPT4ipIxyAmc+QK8/UObKS7Dv5bAXaRuo8Fh2SJ6r5JiErOneGtU9obaTuycJJc6HHb2/GGBezstuHjg0I6h5lG4rJHnPlXK/MX2qBNRC+AASZsxj3ubMiy0HSjPZ484IBU/d5m/gCWCaY7YDnjXcQs/0u8Q==;5:Yfl0AzVFQkmgBixm22Jv2uMyBSv/yHnjQMFV8xDL+/FHjjSRDXu2z6+eWlGFjN/Tjck73dzr6LCFZ/IKsTlvF0lZ2POw7XGl/4nLrZYhAazSLjfo3FA19+HXJ2lAlQPUKrKQ34hZyMdvE5LX+hdMC0XAIen0DSKYy1KRZiEi/gA=;24:r5Fz6VoDX9cMDwb9ULeXzG1hcyQYEY4ya6SbHR0uV0mMqlDo8/b+v5kMuppNWKfd1jn0GmsM6pm5ilS+s5Be/q7B/NvcUB703DaUILD9gus=;7:z7qU7CtMOdQ671WPi7WXMQdqEXWs5CXsKATMku3KR5nFeSFIMmGXIZmd4JXQG8LGc4TAQgGE3BhmnJIGib0/+VXIeP/N/V0bR5xSkKJlVbnyUm0WWGdeBaySs/MyVDnRtMiGZv4p02f7I1tu6EQ+aZOwy+oHDqD9uQ33qQaZrB14hReU/OCcCTfSpPwagRDFhHCWouJlIap7gOm/0TkmGuei7tV9p3nTfafkpBkN+4IrPla36vCbTmLnpv9obKNO
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 237cb206-ee5d-4600-5af0-08d57eff865e
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(4604075)(3008032)(2017052603307)(7153060)(49563074)(7193020);SRVR:DM5PR12MB1177;
x-ms-traffictypediagnostic: DM5PR12MB1177:
x-microsoft-antispam-prvs: <DM5PR12MB1177152EAC8FF9872979200FAEC70@DM5PR12MB1177.namprd12.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(102415395)(6040501)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231220)(944501221)(52105095)(3002001)(6041288)(20161123560045)(20161123562045)(2016111802025)(20161123558120)(20161123564045)(6072148)(6043046)(201708071742011);SRVR:DM5PR12MB1177;BCL:0;PCL:0;RULEID:;SRVR:DM5PR12MB1177;
x-forefront-prvs: 0597911EE1
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39380400002)(346002)(39840400004)(366004)(396003)(376002)(189003)(199004)(3480700004)(8936002)(99286004)(6916009)(6486002)(7736002)(305945005)(97736004)(82746002)(102836004)(3846002)(25786009)(5250100002)(2351001)(6436002)(5640700003)(99936001)(2906002)(73894003)(81166006)(6116002)(2501003)(81156014)(105586002)(8676002)(53936002)(106356001)(66066001)(3280700002)(229853002)(76176011)(33656002)(316002)(621065002)(14454004)(36756003)(68736007)(4270600006)(83716003)(186003)(6346003)(3660700001)(6506007)(86362001)(6246003)(478600001)(26005)(7116003)(6512007)(1730700003)(2950100002)(2900100001)(197153002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1177;H:DM5PR12MB2486.namprd12.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en;
received-spf: None (protection.outlook.com: outlook365domain.org does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is )
smtp.mailfrom=hhh@outlook365domain.org;
x-microsoft-antispam-message-info: rXO7Gp9+OITqfsNoSHFou2TbRaqdx9udSMDPfoBM/CinMBb+Nz5XayfDsfOL6aPo5ykB9b3jWA3x9psMnV3UXtPqFAko84/PVzhaopuNyW2jLVh5eoM+b3ROrlt4V8i2X5IZSsM4ty0Uc5o3yvqLRQZNT6gAzRWLZ80GbvrweP0=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/mixed;
boundary="_003_381A09FDCAB746E98CD3922C9476EBC3outlook365domainorg_"
MIME-Version: 1.0
X-OriginatorOrg: outlook365domain.org
X-MS-Exchange-CrossTenant-Network-Message-Id: 237cb206-ee5d-4600-5af0-08d57eff865e
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Feb 2018 23:03:47.8102
(UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 02cbe82b-3969-4b2b-b4ea-28a6206f695c
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1177
Edited by georg