Query emails sent to undisclosed-recipients

2021-03-23 Thread Firmin Martin
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

Re: Query emails sent to undisclosed-recipients

2021-03-23 Thread Tomi Ollila
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

Re: Query emails sent to undisclosed-recipients

2021-03-23 Thread David Bremner
Tomi Ollila writes: > 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 >> >> ``` >>

Re: Query emails sent to undisclosed-recipients

2021-03-23 Thread Tomi Ollila
On Tue, Mar 23 2021, David Bremner wrote: > Tomi Ollila writes: > >> 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

[PATCH] test: add known broken test for indexing RFC822 group names

2021-03-23 Thread David Bremner
Austin Clements diagnosed this indexing problem in [1]. [1]: id:20130711215207.gr2...@mit.edu --- Hi Tomi; Here's a test that demonstrates the bug / missing feature. test/T050-new.sh | 7 +++ 1 file changed, 7 insertions(+) diff --git a/test/T050-new.sh b/test/T050-new.sh index

Re: [PATCH] test: add known broken test for indexing RFC822 group names

2021-03-23 Thread David Bremner
David Bremner writes: > Austin Clements diagnosed this indexing problem in [1]. > > [1]: id:20130711215207.gr2...@mit.edu BTW, I followed Austin's suggestion in the linked message, and confirmed that the database has no XTO terms for the test message. d