Searching for mails with message id inside a folder
David Pérez
hallaplay835 at gmail.com
Tue Oct 15 15:42:34 PDT 2019
Hi,
There are 3 mails with a specific message id (i.e. Message-ID header)
in my maildirs
$ notmuch search --output=files
mid:"LNXP265MB007373FECCE2D877CC7EC241E6930 at LNXP265MB0073.GBRP265.PROD.OUTLOOK.COM"
/home/david/.local/share/mail/hallaplay835/[Gmail].Important/cur/1571157038.24170_6.aerios,U=36835:2,S
/home/david/.local/share/mail/hallaplay835/INBOX/cur/1571157004.24170_2.aerios,U=1199:2,S
/home/david/.local/share/mail/hallaplay835/Ox/cur/1571157024.24170_4.aerios,U=2618:2,S
I'd like to only match the one in INBOX. However,
$ notmuch search --output=files
mid:"LNXP265MB007373FECCE2D877CC7EC241E6930 at LNXP265MB0073.GBRP265.PROD.OUTLOOK.COM"
folder:"INBOX"
returns no results. On the contrary,
$ notmuch search --output=files
mid:"LNXP265MB007373FECCE2D877CC7EC241E6930 at LNXP265MB0073.GBRP265.PROD.OUTLOOK.COM"
path:"hallaplay835/INBOX/**"
returns all three, when I believe that both should return only one result.
What am I doing wrong?
What if I wanted to match all mails by given message id *not* in INBOX?
I'm using notmuch 0.26.
Thanks!
More information about the notmuch
mailing list