Searching for an Exact Email Address

David Bremner david at tethera.net
Sun Feb 2 04:17:31 PST 2020


Teemu Likonen <tlikonen at iki.fi> writes:

> The shell built-in "set" is useful for testing parameters:
>
>     $ set -- to:"example at email.com" to:\"example at email.com\"
>     $ printf '%s\n' "$@"
>     to:example at email.com
>     to:"example at email.com"


Also useful is setting NOTMUCH_DEBUG_QUERY in the environment. This will
show the parsed Xapian query. In my case this shows both
'to:"example at email.com"' and to:"example at email.com" end up parsed the
same way, so I guess the problem is elsewhere.  Maybe you can try it
with your actual query.

d


More information about the notmuch mailing list