unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Laur Aliste <laur.aliste@gmail.com>
To: notmuch@notmuchmail.org
Subject: How to search for all mail in the trash folder
Date: Mon, 10 Apr 2017 11:47:31 +0200	[thread overview]
Message-ID: <CA+JDXoqTiQS3HirjY1Axz5QDp-tznrrH7stYrAMRA6QCa-YRYA@mail.gmail.com> (raw)

Hi all,

I'm having trouble searching for mail in the trash directory. Only some
mail appears to be returned by notmuch search. Tried also rebuilding
notmuch index, after which no mail were found. Searching other dirs
works as expected - all the mail is returned. Note the mail in trash hasn't
been tagged with 'deleted' nor 'spam', but just in case tried explicitly
searching for those tags as well.

query:
    notmuch search folder:work/Trash '*'

notmuch-config:
[database]
path=/home/laur/mail

[user]
name=laur
primary_email=laur@gmail.com

[new]
tags=new;cal;
ignore=Trash;trash;junk;Junk;Spam;spam;

[search]
exclude_tags=deleted;spam;

[maildir]
synchronize_flags=true

Thanks,
Laur

             reply	other threads:[~2017-04-10  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10  9:47 Laur Aliste [this message]
2017-04-10 10:52 ` How to search for all mail in the trash folder David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+JDXoqTiQS3HirjY1Axz5QDp-tznrrH7stYrAMRA6QCa-YRYA@mail.gmail.com \
    --to=laur.aliste@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).