Hello Kurt, Many thanks for your precious feedback below!
There is definitely no List-Post header in the emails sent by Discourse. It is actually a funny coincidence to receive your email on this today because it's precisely today that I started to change my mind on the idea that theproblem had to be fixed on Discourse's side. Precisely today I startedto think it might be at Mutt's level that theproblem could be fixed. Still, as I mentionned in another thread, I am subscribed to a list to which the posters send emails in Bcc and such emails are not recognized as lists by Mutt although, ijust checked, they do have the List-Post header. This also suggests to me that htere may be room for improvement in mutt itself, re its ways of identifiying that an emailcomes froma mailing list. Thanks again, Seb. Kurt Hackenberg (2025/04/15 18:04 -0400): > On Wed, Mar 19, 2025 at 01:50:35PM +0100, Sébastien Hinderer wrote: > > > I follow a discourse forum but with emails enabled as I am not > > comfortable with its web interface. > > > > For the moment, the emails I receive for forum posts appear as addressed > > to me (with a + flag) rather than coming from a mailing list (with the L > > flag). > > > > At the beginning I thouhgt it was because the emails do not have the > > expected List-* headers but they actually do: > > > > List-Unsubscribe: <https://discuss.ocaml.org/email/unsubscribe/...> > > List-Unsubscribe-Post: List-Unsubscribe=One-Click > > List-ID: OCaml | Learning <learning.discuss.ocaml.org> > > List-Archive: > > https://discuss.ocaml.org/t/collaboration-on-ocaml-project-1-claudius-outreachy/16325 > > > > Still, it is my personal address which appears in the To: field. > > Are those all the List-* headers in the message? If that's all of them, I > think I see the problem. Mutt apparently uses List-Post:, which is not in > your headers above. > > According to the Mutt manual, the commands "list" and "subscribe", and the > auto-subscribe thing, all use List-Post:. I think the expando "%L" in > $index_format also uses the email address from List-Post:. > > <http://mutt.org/doc/manual/#using-lists> > <http://mutt.org/doc/manual/#index-format> > > List-Post: seems wrong to me. All of those Mutt functions are about > identifying mailing lists, which probably should use List-ID:. > > List-Post: is defined by RFC 2369, published in 1998; List-ID: is defined by > RFC 2919, published in 2001. Maybe the Mutt implementation was written in > between, when List-Post: existed but List-ID: did not.