How are other dev's filtering macports mail?

Rainer Müller raimue at macports.org
Wed Jun 6 07:36:36 UTC 2018


On 2018-06-05 21:53, Daniel J. Luke wrote:
> This may be something that would be useful to put in the wiki, but I thought I'd ask on list how other committers deal with the large MacPorts email volume. The way I've been doing it for many years doesn't work anymore (I missed notification of a PR because it looks like github sends me one copy of a notification with List-Id set even though it shows me on the CC line).

I had the same experience. I disabled the "Watch" feature on GitHub now,
as otherwise I would miss pull requests on which I was explicitly
mentioned. Although now I do not get any notifications about other pull
requests.

The ideal notification system would only notify me about new pull
requests once, then I could still use the "Subscribe" button on the
GitHub web interface to receive more if I am interested. Unfortunately
that does not seem to be available.

> For the longest time, I've just done filtering on List-Id into list-specific mailboxes, so messages directly to me (or that CC me) end up in my inbox like normal [Note that this still works just fine for trac tickets]. I could do matching on list-id but add an exception for when I'm CC'd (which may work), but could also miss some mail.

I use a similar approach. I filter on List-Id first and as a second step
on To/CC. I have "Search Folders" set up in Thunderbird (local folders
that update dynamically based on filter rules) on mailboxes that allow
me to quickly find mails on which I was explicitly added to To/CC.

My relevant filtering rules in the Sieve language are as follows:

if header :contains "List-Id" "<macports-dev.lists.macports.org>" {
    fileinto "Mailing Lists.macports-dev";
    stop;
}

if header :contains "List-Id" "<macports-users.lists.macports.org>" {
    fileinto "Mailing Lists.macports-users";
    stop;
}

# Trac will sent notifications directly, match on To/CC
if anyof(header :contains "List-Id" "<macports-tickets.lists.macports.org>",
          address :contains ["To", "CC"] "macports-tickets at lists.macports.org") {
    fileinto "Development.macports-tickets";
    stop;
}

if address :contains ["To", "CC"] ["macports-dev at lists.macosforge.org", "macports-dev at lists.macports.org"] {
    fileinto "Mailing Lists.macports-dev";
    stop;
}

if address :contains ["To", "CC"] ["macports-users at lists.macosforge.org", "macports-users at lists.macports.org"] {
    fileinto "Mailing Lists.macports-users";
    stop;
}

if header :matches "List-Id" "*<*.macports.github.com>" {
    fileinto "Development.macports-github";
    stop;
}

Hope that helps,
Rainer


More information about the macports-dev mailing list