unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* perfect match of subject search
@ 2016-10-30  0:42 David Belohrad
  2016-11-01 15:41 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: David Belohrad @ 2016-10-30  0:42 UTC (permalink / raw)
  To: notmuch

Dear all,

some advice would be appreciated. I use spamassassin to tag all spam by !!!!!SPAM!!!!! such, that during notmuch tagging process i could filter them away from my inbox. Problem is, that no matter what, I cannot search on subject exactly. Hence if I write down:

notmuch search subject:"!!!!!SPAM!!!!!"

i get not only those with exact match, but I do get many others, who do not have in subject SPAM at all, even for example an email from recent discussion, with subject:

"Macros for notmuch and bayesian spam learner (dspam)"

so it completely ignores the exclamation, starts ... and maybe other things as well...

how can i specify the subject search term to look for only exact match?

thanks

.d.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: perfect match of subject search
  2016-10-30  0:42 perfect match of subject search David Belohrad
@ 2016-11-01 15:41 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2016-11-01 15:41 UTC (permalink / raw)
  To: David Belohrad, notmuch

David Belohrad <david@belohrad.ch> writes:

> Dear all,
>
> some advice would be appreciated. I use spamassassin to tag all spam by !!!!!SPAM!!!!! such, that during notmuch tagging process i could filter them away from my inbox. Problem is, that no matter what, I cannot search on subject exactly. Hence if I write down:
>
> notmuch search subject:"!!!!!SPAM!!!!!"
>
> i get not only those with exact match, but I do get many others, who do not have in subject SPAM at all, even for example an email from recent discussion, with subject:
>
> "Macros for notmuch and bayesian spam learner (dspam)"
>
> so it completely ignores the exclamation, starts ... and maybe other things as well...
>
> how can i specify the subject search term to look for only exact match?
>
> thanks
>
> .d.

There is a patch id:1467034387-16885-1-git-send-email-david@tethera.net
; it needs more review before merging. Feel free to test it, it should
not change your database.

d

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-01 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-30  0:42 perfect match of subject search David Belohrad
2016-11-01 15:41 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).