Hello Kurt and a lot of gratitude for you re-visiting the topic and
apparently even taking the time to read Mutt's sources!

Kurt Hackenberg (2025/05/10 17:25 -0400):
> Sébastien, I'm sorry, I gave a bad answer back then, because I misunderstood
> Mutt's mailing list code. I think I understand it now.
> 
> Mutt detects that a message came from a list by comparing addresses in the
> message's To: and CC: to addresses predefined by command "subscribe" or
> $auto_subscribe. That doesn't work if the list address does not appear in
> To: or CC:, which apparently is your situation. I think that's the
> problem.

Yes, I completely share your analysis. (Thanks for having mentionned
$auto_subscribe, which I was not aware of). In my understanding, a
consequence of what you say is that a message will not be detected as
coming from a list if it is sent in Bcc to that list, even if you are
subscribed to this list.

> I think Mutt should (also) look at List-ID:, which would work here, but
> currently it doesn't.

I completely agree. My (current and shallow) understanding is that for
the moment, Mutt's heuristic to determine whether a mail comes from a
list or not is incomplete. I definitely think it would be nice to add
another criterion based on the presence of a list-related header or
something like that. What I don't know is whether this could be made the
default / onlybehaviour, or whether we would need this alternative
behaviour to be controlled by a variable for backward-compatibility
reasons that are not obvious to me (meaning, I don't see why one would
want to keep a behaviour I consider as broken), but others may have
reasons to want the current behaviour to be preserved, either as the
default or at least as someting that can be achieved by configuring the
right variables.

Of course I guess mutt would then not be able to say whether the list
where the message comes from is one to which we are subscribed or not,
but even from that point of view I think that at least being able to
mark the message as coming from a list owuld be an improvmenet over the
current situation.

Thanks agian Kurt for having resurrected this topic.

Seb.

Reply via email to