Hello Sébastien,
Il 19 marzo 2025 alle 13:50 Sébastien Hinderer ha scritto:
> Dear all,
>
> 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).
You are not alone in your quest!
This is me asking for help six years ago:
https://lists.mutt.org/pipermail/mutt-users/Week-of-Mon-20190610/001057.html
> I'm wondering what would be the right way to get such emails properly
> identified as coming from a forum rather than as emails addressed to me
> personally. Is there a configuration trick I should use?
After some years I caved in and configured `procmail` as my delivery
agent.
I have a rule like this
# Haskell Discourse, but not PMs
if ( /^List-Id:.*discourse.haskell.org>/:h && \
!/^Subject:.*\[PM\]/:h )
to $MAILFOLDER/lists
and of course
if ( /^List-Id:.*<abcusers.groups.io>/:h || \
/^List-Id:.*<alt.ascii-art.googleroups.com>/:h || \
/^List-Id:.*<announce.we.lurk.org>/:h || \
/^List-Id:.*<annunci.lists.linux.it>/:h || \
/^List-Id:.*<beginners.haskell.org>/:h || \
/^List-Id:.*<bmf-user.lists.sourceforge.net>/:h || \
/^List-Id:.*<brick-users.googlegroups.com>/:h || \
⁝ )
to $MAILFOLDER/lists
That is, I don’t use `~l` or “known mailing lists anymore, I just
configured `getmail` to use `maildrop` and deliver the message to
the appropriate folder.
Maybe it is not 100% what you want, but can give you a few ideas on
how to tackle your problem
—F