Re: tell me how to do this right (mail sent to lists)

Subject: Re: tell me how to do this right (mail sent to lists)

Date: Wed, 10 Oct 2018 23:35:46 +0200

To: David Bremner, Carl Worth, Daniel Kahn Gillmor

Cc: notmuch@notmuchmail.org

From: Jeff Templon


Hi David, all:

David Bremner <david@tethera.net> writes:

> The tag is not associated with the file in Sent, it is associated
> with the message-id.

I guess I didn't make myself clear enough, again.  I didn't mean that
the tag is associated with the file.  What I am guessing is something
like this:

for message in new_messages:
   if message.id not in database:
      process message and determine list of tags
      appy those tags to the messageID

new_messages is the list of files that notmuch had not yet seen.

notice the if statement.  I am guessing, based on the behavior, that
this is how it works.  So the implication would be:

if the first message file encountered for that messageID is the one in
Sent, it does not have a ListID field and hence does not get the list
tags applied.  The second message file (the one sent via the mailing
list) DOES have a ListID field, but notmuch "already knows this
messageID" so it does not look at that message and the list tags never
get applied.

I'm not sure whether it's an afew problem or a notmuch problem ...

JT
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: