Tomi Ollila writes: > On Mon, Oct 29 2012, James Vasile wrote: > >> I received the attached piece of spam telling me about an exciting >> investment opportunity. Notmuch pulled it in to the database, noting >> the message id. But then it seems to stop paying attention to the >> message id. >> >> notmuch can find the mail when I search by the from field: >> >> $ notmuch search "from:caroline horn" >> thread:000000000000bcb7 Today 09:29 [1/1] Caroline Horn; This Company is on the rise (hv inbox unread) >> >> But not by the message id: >> $ notmuch search id:000801cdb5da$17673470$26448589@microsof000000t4ko3r >> $ > > Try > > $ notmuch search id:'000801cdb5da$17673470$26448589@microsof000000t4ko3r' > > so that the $....s are not expanded... > > note that id:"..." does not suffice as shell expands $ & ` inside double > quotes. Tomi, that's a good catch and one I should have noticed. Thanks much for the help!