On Wed, 24 Oct 2018, Rich Shepard wrote:
On Wed, 24 Oct 2018, Paul Heinlein wrote:
There's nothing special about the List-Id header; it's just something that
Mailman inserts into outbound messages. Perhaps other list managers use it
as well.
Open a list message in Alpine and press the H key to see the full headers.
You should be able to spot that header if it's there. If not, the
osgeo.org list server may have another header that procmail can spot.
Paul,
Yep, it's there all right.
I was thinking of using the subject line tag associated with that list:
Subject: [GRASS-user]
because I was not familiar with all recipe options for procmail.
All procmail does is run a case-insensitive egrep regular expression
against your inbound messages. By default, the regex is run only
against the mail headers, though procmail recipes can grep the message
body as well if you'd like.
The reason I like grep-ing the List-Id header is that, for instance,
personal replies to list messages will end up in my inbox rather than
in the list folder.
If you choose to match the Subject: header, make sure your rule is
flexible enough to match reply (re:, Re:, etc) strings prior to the
group name. See, for instance, the Subject: header in this message.
--
Paul Heinlein
[email protected]
45°38' N, 122°6' W
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug