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 123856DE02AC for ; Sat, 28 Jan 2017 09:47:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_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 j__9QRfWTqzc for ; Sat, 28 Jan 2017 09:47:11 -0800 (PST) X-Greylist: delayed 1552 seconds by postgrey-1.35 at arlo; Sat, 28 Jan 2017 09:47:11 PST Received: from latitanza.investici.org (latitanza.investici.org [82.94.249.234]) by arlo.cworth.org (Postfix) with ESMTPS id 2DCDC6DE0143 for ; Sat, 28 Jan 2017 09:47:11 -0800 (PST) Received: from [82.94.249.234] (latitanza [82.94.249.234]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 9081C1204F0 for ; Sat, 28 Jan 2017 17:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1485624076; bh=h1Uh/t1aohwSbW9iWXRon2S7zPYXGuhWJoQ6Ord3eK4=; h=From:To:Subject:Date; b=XTJXAN0uB4THFY22e14DkYjdCil6/My+YpnZ6TFrNrfEmI5H26KV7NEhM/70Tb+Xz Yp8uBWEe6DpgtzCHBzxWBpdWb60OETVzTYEJZLOmkiMLfEH8sJXVh+kJYnPMZK//Ta JT5n3Iim++u2aZNNbOJjC+JcI8DyBHFQv1u6IOuE= From: ng0 To: notmuch@notmuchmail.org Subject: tagging by message-id? Date: Sat, 28 Jan 2017 17:21:10 +0000 Message-ID: <87r33nw16h.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 28 Jan 2017 17:47:14 -0000 Hi, I recently imported some archives. The problematic parts I have (almost) fixed with some sed scripts. But some messages just have message-ids, because the "From:" was stripped in the past. Is it possible to apply tags to message-ids, something similar to notmuch tag -inbox +python +python::list -- python-list-request@python.org OR python-list@python.org OR id:*python-list@python.org I'm also open to other solutions (the untagged messages share at least a common folder structure "/home/user/mail.python.org/.lists-python-1999-March/" as an example), this runs in a script anyway. -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/