Hi,

There are 3 mails with a specific message id (i.e. Message-ID header)
in my maildirs

$ notmuch search --output=files
mid:"lnxp265mb007373fecce2d877cc7ec241e6...@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:"lnxp265mb007373fecce2d877cc7ec241e6...@lnxp265mb0073.gbrp265.prod.outlook.com"
folder:"INBOX"

returns no results. On the contrary,

$ notmuch search --output=files
mid:"lnxp265mb007373fecce2d877cc7ec241e6...@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!
_______________________________________________
notmuch mailing list
[email protected]
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to