unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: James Vasile <james@hackervisions.org>
To: notmuch mailing list <notmuch@notmuchmail.org>
Subject: Notmuch search missing mail id
Date: Mon, 29 Oct 2012 12:39:47 -0400	[thread overview]
Message-ID: <87r4oh44h8.fsf@hackervisions.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1074 bytes --]

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
$

Notmuch has correctly pulled the id into the database:
$ notmuch show "from:caroline horn" | grep "id:" | sed "s/.*\(id:[^ ]*\).*/\1/"
id:000801cdb5da$17673470$26448589@microsof000000t4ko3r

If notmuch knows the id but won't match it in a search, that looks like
a bug to me.

On a related matter, I have a script that pulls the message id header
From a mail file and then uses notmuch tag id:foo to tag that file.  But
if notmuch sometimes fails to find the id, maybe there is there a better
way to do it?

Thanks,
James


[-- Attachment #1.2: spam mail --]
[-- Type: application/octet-stream, Size: 1602 bytes --]

Return-path: <ortega@cs.com>
Envelope-to: james@hackervisions.org
Delivery-date: Mon, 29 Oct 2012 09:33:21 -0400
Received: from cm-171-100-65-177.revip10.asianet.co.th ([171.100.65.177])
	by jamesvasile.com with smtp (Exim 4.80)
	(envelope-from <ortega@cs.com>)
	id 1TSpSy-0002dX-GU
	for james@hackervisions.org; Mon, 29 Oct 2012 09:33:21 -0400
Received: from unknown (HELO t4ko3r) ([38.68.133.137])
	by cm-171-100-65-177.revip10.asianet.co.th with ESMTP; Mon, 29 Oct 2012 20:37:23 +0700
Message-ID: <000801cdb5da$17673470$26448589@microsof000000t4ko3r>
From: "Caroline Horn" <ortega@cs.com>
To: <james@hackervisions.org>
Subject: This Company is on the rise
Date: Mon, 29 Oct 2012 20:29:19 +0700
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-2";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180

I are hoping you investors are around your PCs, because we anticipate this 
gold deal to explode huge this trading day. Whispers by marked folks 
aligned with Pengram Gold Corp have told us of a positive property 
announcement which will be made public later next week!

Today: Monday, Oct 29th
OTC BB: Pengram Gold Corporation
To buy: PNG M
Last Trade: .045
4 Day Target: .20

Gold Portfolio - three areas blanketing 12 600 acres in Nevada and BC. At 
the moment the stock has dropped to .045 on soft trading but we believe 
PNG M will comfortably move above 0.20 once this press release is revealed 
to the people!!!


[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

             reply	other threads:[~2012-10-29 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-29 16:39 James Vasile [this message]
2012-10-29 17:50 ` Notmuch search missing mail id Tomi Ollila
2012-10-29 18:03   ` James Vasile

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=87r4oh44h8.fsf@hackervisions.org \
    --to=james@hackervisions.org \
    --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).