From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +BKXJog0WmAWDQAA0tVLHw (envelope-from ) for ; Tue, 23 Mar 2021 18:33:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eGhDIog0WmAxeQAAbx9fmQ (envelope-from ) for ; Tue, 23 Mar 2021 18:33:44 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4D0A2B3BC for ; Tue, 23 Mar 2021 19:33:43 +0100 (CET) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E87FF20623; Tue, 23 Mar 2021 14:33:38 -0400 (EDT) Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) by mail.notmuchmail.org (Postfix) with ESMTPS id D9BC31FADE for ; Tue, 23 Mar 2021 14:33:35 -0400 (EDT) Received: from guru.guru-group.fi (unknown [IPv6:2a02:2380:1:9:5054:ff:feb7:a4bc]) (using TLSv1.2 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: too) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id A359C1B00080; Tue, 23 Mar 2021 20:33:30 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1616524410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bgaC6UlBifpQor5OvNs1PHjdpkx6WyFQ9LMb/kgUARI=; b=wFC8DnplKszMaC05wLNmTKmtfrqnZ1NOis2CVSidFq7tvIgjrPJkGI4xFlwISW3wnE1OqP SumXOCn9S7sf66aw00/ZW9iyyLHBqq04iD38mvEhFB30HUnFs2AOmXM9JeDNA42J/DoQ1c AYecjecLox1iw5k/oVAGysaaKZi6sZ9IP37kdQHxdHD2ptA7m9UgXllKRMnqy2psD11EHH fFgs2ZhVPqyubq32KLdi5qM0rWK3aOIQiBLZGAjafcQL1CTSYkUW/BVFG+bkmBFxMEJzLY kDuU+FkQn5jGvebD2UoebiW6k5WdYakn4lReoKJJA100vnSj96dB4AGBu1dSuw== From: Tomi Ollila To: Firmin Martin , notmuch@notmuchmail.org Subject: Re: Query emails sent to undisclosed-recipients In-Reply-To: <875z1iauay.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me> References: <875z1iauay.fsf@Inspiron.i-did-not-set--mail-host-address--so-tickle-me> User-Agent: Notmuch/0.31.4+128~gc67b63a (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1616524410; a=rsa-sha256; cv=none; b=cCNZpR5HskP8/4iUtAz3sF1/Kc/cEnZV31Wh2MmjJvBlDihZGkawCpk726uzSIsYVktEAs qsKHEAiKYUdYCPAIP9awbLLyeF3E8GWsADaVGkom9avUM1LhHQO3ckPGSOr3cpWriPy/cC 22DUcA7G9sVsH3aNWCeiJ3Ub4myClhuTjWMj5Yg9PZH/RdbN3L8zX6MFJlHtxQiyNvHZbq FJKGZ7PcLCrh4b17xa9zi6N4k1YZG1VyXV1ablMsmo8E/VbMQec/CmlpPROaSpGb6Niygj zJOTF/YxURszKNj8AKQtE95akeaxc8Th4Z+WiF5aRbSyemg8oVNCSLol4q5Lfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1616524410; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bgaC6UlBifpQor5OvNs1PHjdpkx6WyFQ9LMb/kgUARI=; b=Eb5gANB6EzuC4Mbl4Z82/wnvabQ0nIxJN3bAlCF7iqNphHGf0n1Y7vsgEmJlO2Pd3evQ5x cWO+kbiVZnQrU/M7WkufGx2gIlnAAQ22EEuhSOXqK8xacQiDIY4bSJu5yWqdqD40lfdIvv FvPS789VDnwQnJhE1GqhJOnm8uDYxlv5yn/U59EsCetqQS+9jMPny9T+0JpTnuEtlaqvEC u0Ih7fifufEygOPZYqkf7YDUO+6UdtO/FW5asDV9sQivPVpwH0BcIxnhQ0hpKTzSEiMt9f KFtzM4zn1otJaUMbzBcFCck0VyLQSasVngO8Qb2CANjNCfXXKH+Ke1S1wsCvJg== Message-ID-Hash: YZCOPAQWIHF72CMXWXWZSWODIDYSK443 X-Message-ID-Hash: YZCOPAQWIHF72CMXWXWZSWODIDYSK443 X-MailFrom: tomi.ollila@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616524423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nHAnk5XlF+5m0r2k3sF9uqKgYsOKqgMnLMiRR/BJb18=; b=GuEDV6Fu5zfjjfQpFtv4YjOpzWdgNBJ46bdzkfloSjigrmQ3eQjGjIXr/x2v9T+uuAu1wP GRzQTnLZqD7ERKa1KrpyxZHpoJB+O6lWIE0CV0n1i8tvH7Lc3VbI6j93j93yyqSegCnXwe 3ECmGLZrw2r4FUGve1kpn6Y6auPdnyacTKIQ3xaX8FCaQakjgCN5Mi27Ckcvp7J/zgV2ev OBzOieRjJIQaIwE9sxT2AhBjCnAgrKWHRM6wtVK66UweWjvg2wzVaq3lu7eI3N01C0U1ps q56Yr5WoEYLxV6KEoqx2bHf40vM3rLT+t/lCbslgwrvkcPrOqCBpx8bEGmLOjg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1616524423; a=rsa-sha256; cv=fail; b=LLFOY4R3BhzHCRkpFc46DNOreKHvx313rPWRTlWQ6I3a8/QtLau3tZNJ2DmNj3XSULsfLd 5ORsF4FO+0ZArFspHiuPG3Sx442cvOmGpRPFlrV0k5bWtKfuo2NsLsKfFbOwDUJyzSYDh2 jcnsMwNVyg/mpI1Avl/kY2B+GHWKGyiccSZ2+EwRVD9HA/Fm/UtWtd74zc6XmUmmEba0RW nhE16eodAOWtx6oLe7d3CxKWhX1HlRMli5urM7wbgn2vDPLo+m6FyjvEA3WtnNRXxZMfA6 IsftIzldvhwLqbbQoK4q5WyrrLkNRgaBSis+MyG4VcWZZC5g8ekM48eBhiYLTg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=wFC8Dnpl; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=lahtoruutu header.b=wFC8Dnpl; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 4D0A2B3BC X-Spam-Score: 0.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: tI7HKMutWtMO On Tue, Mar 23 2021, Firmin Martin wrote: > Hi, > > I have emails whose the "To" field is undisclosed recipients. In JSON: > > ``` > "To": "undisclosed-recipients: ;" > ``` > > I would want to tag such email as spam, but I can't query them > using > > ``` > notmuch show --format=json to:"undisclosed-recipients: ;" > ``` > > or any variation (regex etc.). > > This question has already been addressed in 2013 [1]. Are there any plan > to implement this feature or available workaround ? Tried. many things. did not work. notmuch-search-terms(7) tells to: (so no regex syntax...) I don't know why that doesn't work. IIRC no plan, but patches welcome >;D Tomi PS: I tried 1 20:21 0:00 notmuch search to:undisclosed-recipients 2 20:21 0:00 notmuch search to:/undisclosed-recipients/ 6 20:22 0:00 notmuch search id:msg-w-ur@not.an.example 9 20:23 0:00 notmuch search 'to:undisclosed*' 10 20:23 0:00 notmuch search 'to:undisclosed' 11 20:23 0:17 notmuch search 'to:tomi.ollila' 12 20:24 0:01 notmuch search 'to:/undisclosed/' 13 20:24 0:00 notmuch search 'to:/undisclosed*/' 14 20:24 0:00 notmuch search 'to:/undisclosed.*/' 15 20:24 0:00 notmuch search 'to:/.*undisclosed.*/' 16 20:25 0:14 notmuch help search 17 20:25 0:00 notmuch help notmuch-search-terms 18 20:25 0:02 notmuch help search 19 20:25 0:00 notmuch help notmuch-search-terms 20 20:25 0:07 notmuch help search 21 20:25 0:53 notmuch help search-terms 22 20:26 0:00 notmuch search 'to:undisclosed-recipients:' 23 20:26 0:00 notmuch search 'to:undisclosed-recipients' 24 20:27 0:00 notmuch search 'to:tomi.oll*' 25 20:27 0:03 notmuch search 'to:tomi.' 26 20:27 0:02 notmuch search 'to:tomi.*' 27 20:27 0:00 notmuch search 'to:tomi.o*' 28 20:27 0:00 notmuch search 'to:undisclosed-recipients:' 29 20:28 1:35 notmuch help search-terms 30 20:30 0:00 notmuch search 'to:undisclosed-recipients:;' > > Thanks, > > Firmin Martin > > [1] https://notmuchmail.org/pipermail/notmuch/2013/015516.html