From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id BECDE6DE0361 for ; Sat, 14 Sep 2019 16:58:36 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.285 X-Spam-Level: X-Spam-Status: No, score=-0.285 tagged_above=-999 required=5 tests=[AWL=-0.285, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oWecN0IrVsOf for ; Sat, 14 Sep 2019 16:58:35 -0700 (PDT) Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730059.outbound.protection.outlook.com [40.107.73.59]) by arlo.cworth.org (Postfix) with ESMTPS id B07A96DE02CB for ; Sat, 14 Sep 2019 16:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VQr3DTtyq+sDRd7500C/LJINV6l32yM081FjwTmsUM9s+YnyEjYKVzHbQ/H96v+/KwT03uzROLygFV5aztsVsbj8bWHDd29Ga2ua+B7ghcBM/bjKnDP2sOOYghsPwQgySOmV8OkYhLbWXBVA3Nswh9LTVgMKGS7pQSbUYInK/0KXK0dDXilUgz3lY6+iKT/5Ed/RudOVvSkSpTtlhSGNw3jCM7OdE9AxlTS899TON0gsVKQz4oRvI76vz1IrwOPXC+g5nrfPYRoRC9IHqtEX4ZNyuQV3ZeTMTBUxq0J3obMDNKVAfaqUuK5gNLl6D2Dkl1hHzLnkSruqTcgkAlJ/IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QIQ9idXTWqvmCgvk4jTLMsQgSORcqi2acxL3AC4yKrg=; b=gZZlJnZSvmh4yKATFMq5N3bnWpM0J8OVYvw3/s9CE5vtmOEQR+0XytBibbmvCsJqdVoyO8xOGb7z7xeAMcMceX/iQfWK23y5qxmHMu4nOOie/6XS+zDLPXYChb9V6AR/Q5QvkEZsGcWG/KmGdKRWwfuYRstQQrMysAP0qOUK4JUfhHdiBZAQDx0RYD2Kc8uRaYSY4pCtZ6UDhxCYtDMVe9Eayjd6671kdh8ZPOGAh6EW46IgEllJJTzo+zFCiAxBOe9BnVts8dwADF9iQuAU4khwpxgQY8ZPJTEY/tNnhMSnYhyHpIdAZfbPZiwS0J1hypEGyEeuLEs59vDFnpGBSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=caltech.edu; dmarc=pass action=none header.from=caltech.edu; dkim=pass header.d=caltech.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=caltech.onmicrosoft.com; s=selector2-caltech-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QIQ9idXTWqvmCgvk4jTLMsQgSORcqi2acxL3AC4yKrg=; b=WixYl/qUzx+lzttL9TwGDsR7dc0wx06oa3C3ycG3EMHV0vn4HiBggZJ4lN7Ji6adIRSgLgqkxL2/e/YYVZx3vm5F5mZeXHX/TjolmJcD/f1OyQTbZ87pkCZqO6HeJ1addvfdg8yE50IyoB7P2nWU9KosjjNHvY+Ib30g6pnQ0Lo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jrollins@caltech.edu; Received: from servo.finestructure.net (77.64.145.25) by BYAPR03MB3557.namprd03.prod.outlook.com (2603:10b6:a02:b0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.21; Sat, 14 Sep 2019 23:58:31 +0000 Received: by servo.finestructure.net (Postfix, from userid 1000) id 20958104; Sat, 14 Sep 2019 16:58:21 -0700 (PDT) From: Jameson Graef Rollins To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: v4 of repairing Mixed-up mangled MIME messages In-Reply-To: <87woea227s.fsf@fifthhorseman.net> References: <20190909032726.8931-1-dkg@fifthhorseman.net> <87zhj749p7.fsf@caltech.edu> <87woea227s.fsf@fifthhorseman.net> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) Date: Sat, 14 Sep 2019 16:58:20 -0700 Message-ID: <87sgoy4ehv.fsf@caltech.edu> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [77.64.145.25] X-ClientProxiedBy: AM6P191CA0081.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::22) To BYAPR03MB3557.namprd03.prod.outlook.com (2603:10b6:a02:b0::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b0fe96b9-3428-4a54-f445-08d7396f723d X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR03MB3557; X-MS-TrafficTypeDiagnostic: BYAPR03MB3557: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 01604FB62B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(136003)(376002)(346002)(199004)(189003)(48376002)(8676002)(110136005)(47776003)(15650500001)(81156014)(76176011)(66946007)(70586007)(81166006)(11346002)(8936002)(476003)(66066001)(51416003)(2616005)(446003)(50466002)(58126008)(316002)(786003)(42186006)(16586007)(53936002)(6266002)(305945005)(6246003)(386003)(36756003)(3846002)(229853002)(52956003)(26005)(478600001)(486006)(2906002)(5660300002)(88552002)(186003)(6116002)(7736002)(75432002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR03MB3557; H:servo.finestructure.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: caltech.edu does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: dCVS4wGprkK2YfL9ovIG/o7ETBtEPOfstO2VJdXABnstd4lg3lRpZQkzaRV1utVoJsPsCNm0rRfo+V+DyMT/QM8L1gpIwpI1YyMyHgd/LLNjgHRu7XKS28T7EzeKjfpdtGPeSEWh7PvrbyHoTTuQKtvtuuARZd2adWdQ3zM5mTktDNHEoUASkvPQuTd0+XqR9QaajXbj1eNG4Qg25OjYNPYioNsW2lYa0sNd8gYBOPTKb+bpP89SSmm7C+OYmbLn+whxzF84xNQi33qLQa46nphhmzo5FQwvR0My2vFQqqJi4I5bSbhG5g30jYEg0xOBev6KVnzMCFPzCsoSbruC6xNJYgmKGxKtwVUyDvW6Bu9Hw9WV/XJ5L3OzDTB+nyXD93rRUWBbD0DbhppbC24OZXgb5Y4kVIIzS1cYAy22al8= X-OriginatorOrg: caltech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2019 23:58:31.5121 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b0fe96b9-3428-4a54-f445-08d7396f723d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fd5be9d9-7b72-4df9-830e-b1f9cc5b44bd X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB3557 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 23:58:36 -0000 On Sat, Sep 14 2019, Daniel Kahn Gillmor wrote: > On Sat 2019-09-14 00:29:40 -0700, Jameson Graef Rollins wrote: >> Can we have notmuch auto-apply a tag, like the "encrypted" and "signed" >> tags, that indicates mail has been mangled in this way? > > i don't believe tags are appropriate for this use -- the growing > convention is to use properties for automated notes like this, and you > can see from the series that this is the case: > > + notmuch_message_add_property (message, "index.repaired", "mixedup"); > >> I'm feeling somewhat morally opposed to just silently fixing mail >> that's been broken by bad/irresponsible actors on the net. We need to >> keep pushing on MS to fix this issue globally, so I for one would like >> to be reminded if I'm still being affected by this. > > you should be able to do that with: > > notmuch search property:index.repaired=mixedup > > does that satisfy your concerns? Oh, so sorry, I should have read the patches more closely. Yes, that property definitely satisfies. Thank you for your completeness in the series, dkg. jamie.