unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Anderson <MarkR.Anderson@amd.com>
To: Aaron Williamson <aaron@copiesofcopies.org>
Cc: "notmuch@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Re: Debugging strangeness in To: field
Date: Wed, 6 Apr 2011 15:26:06 -0600	[thread overview]
Message-ID: <3wd1v1f2hsh.fsf@testarossa.amd.com> (raw)
In-Reply-To: <3wd4o6b2mwf.fsf@testarossa.amd.com>

On Wed, 06 Apr 2011 13:35:44 -0600, Mark Anderson <MarkR.Anderson@amd.com> wrote:
Hello All,

> It is rather painful that I can have a lot of recipients dropped
> silently by gmime.

Well, it's not this bad, I only lose the rest of the display name and
the true email address for the recipients where this matches.  Later
recipients are preserved.  That's better than I thought, but definitely
not good, since the same email list can have multiple display names
depending on the sender's preferences, and now I have no guarantee that
notmuch will have the true email address indexed.  Hopefully this poor
behavior is related to my exposure to Exchange and isn't contagious
without willful stupidity. :)

This behavior also breaks the idea that I can just copy and paste from
the To: field into a search, since some terms will be missing.

It looks like it would be better to stuff the entire string of the To:
field directly into Xapian.  GMime will give you a string output of what it
figured out from the message header, but that already has terms pruned
as shown below:

From the raw file:

To: One Big Happy <OneBigHappy@amd.com>, 
	dist.Happy Group <dist.HappyGroup@amd.com>,
        This Really Stinks <something_smelly@notfromhere.com>,
        This.WillPrune <wrinkled_plum@plumfarm.com>,
        This Will Not Prune <plump_plums@plumsrus.com>

Trace output:

Email address list: One Big Happy <OneBigHappy@amd.com>, dist.Happy, This Really Stinks <something_smelly@notfromhere.com>, This.WillPrune, This Will Not Prune <plump_plums@plumsrus.com>
Email address: One Big Happy <OneBigHappy@amd.com>
Email address: dist.Happy
Email address: This Really Stinks <something_smelly@notfromhere.com>
Email address: This.WillPrune
Email address: This Will Not Prune <plump_plums@plumsrus.com>

Any suggestions for how to fix this?  Or is my mail broken irreparably?

-Mark

  reply	other threads:[~2011-04-06 21:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-06 18:58 Debugging strangeness in To: field Mark Anderson
2011-04-06 19:10 ` Aaron Williamson
2011-04-06 19:35   ` Mark Anderson
2011-04-06 21:26     ` Mark Anderson [this message]
2011-04-10  8:17 ` Matthieu Lemerre

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=3wd1v1f2hsh.fsf@testarossa.amd.com \
    --to=markr.anderson@amd.com \
    --cc=aaron@copiesofcopies.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).