notmuch search does not work with search term 'id:'

Jörg Volbers joerg at joergvolbers.de
Sat Aug 12 09:35:34 PDT 2017


That was helpful! The output is:

Query(((Tmail AND 0 * 
QE5-a1wt6bgr-elaine/2/42589-dc960dd3 at nlsender05.ui-portal.com) 
AND_NOT (Kdeleted OR Kspam)))

Actually my config has "search.exclude_tags=deleted;spam" set, and 
the mail IS a spam mail. (I wanted to train bogofilter).

Did not know that such an exclusion occurs. Makes sense, though.

Adding --exclude=false to the search makes it behave well.

Thanks for the help!



David Bremner <david at tethera.net> writes:

> Jörg Volbers <joerg at joergvolbers.de> writes: 
>  
>> This is the ID which I am using for testing: 
>> 
>> E5-a1wt6bgr-elaine/2/42589-dc960dd3 at nlsender05.ui-portal.com 
>> 
> Can you try 
> 
> NOTMUCH_DEBUG_QUERY=y notmuch search 
> id:E5-a1wt6bgr-elaine/2/42589-dc960dd3 at nlsender05.ui-portal.com 
> 
> and report the output after "Final query is:" 
> 
> d 

-- 
http://www.joergvolbers.de
https://fu-berlin.academia.edu/jvolbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20170812/450d1d03/attachment.sig>


More information about the notmuch mailing list