~yoctocell/nixrc

1119786e9e54ae90e4dd05556dc8aa555672beff — Xinglu Chen 2 years ago b012b14
profiles: mailserver: Add lists.
1 files changed, 144 insertions(+), 0 deletions(-)

M profiles/mail/mailserver/dovecot.sieve
M profiles/mail/mailserver/dovecot.sieve => profiles/mail/mailserver/dovecot.sieve +144 -0
@@ 1,5 1,37 @@
elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<bug-auctex.gnu.org>",
          header :contains ["To","Cc"]
            "bug-auctex@gnu.org") {
  fileinto "lists.emacs.auctex-bugs";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<auctex-diffs.gnu.org>",
          header :contains ["To","Cc"]
            "auctex-diffs@gnu.org") {
  fileinto "lists.emacs.auctex-commits";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<auctex-devel.gnu.org>",
          header :contains ["To","Cc"]
            "auctex-devel@gnu.org") {
  fileinto "lists.emacs.auctex-devel";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<auctex.gnu.org>",
          header :contains ["To","Cc"]
            "auctex@gnu.org") {
  fileinto "lists.emacs.auctex-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<~lle-bout/awesome-guix-devel.lists.sr.ht>",
          header :contains ["To","Cc"]
            "~lle-bout/awesome-guix-devel@lists.sr.ht") {


@@ 32,6 64,30 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<chicken-janitors.nongnu.org>",
          header :contains ["To","Cc"]
            "chicken-janitors@nongnu.org") {
  fileinto "lists.chicken.chicken-bugs";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<chicken-hackers.nongnu.org>",
          header :contains ["To","Cc"]
            "chicken-hackers@nongnu.org") {
  fileinto "lists.chicken.chicken-devel";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<chicken-users.nongnu.org>",
          header :contains ["To","Cc"]
            "chicken-users@nongnu.org") {
  fileinto "lists.chicken.chicken-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<~yoctocell/dotfiles.lists.sr.ht>",
          header :contains ["To","Cc"]
            "~yoctocell/dotfiles@lists.sr.ht") {


@@ 40,6 96,14 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<emacs-elpa-diffs.gnu.org>",
          header :contains ["To","Cc"]
            "emacs-elpa-diffs@gnu.org") {
  fileinto "lists.emacs.elpa-commits";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<bug-gnu-emacs.gnu.org>",
          header :contains ["To","Cc"]
            "bug-gnu-emacs@gnu.org") {


@@ 64,6 128,14 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<emacs-tangents.gnu.org>",
          header :contains ["To","Cc"]
            "emacs-tangents@gnu.org") {
  fileinto "lists.emacs.emacs-tangents";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<help-gnu-emacs.gnu.org>",
          header :contains ["To","Cc"]
            "help-gnu-emacs@gnu.org") {


@@ 72,6 144,22 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<emms-help.gnu.org>",
          header :contains ["To","Cc"]
            "emms-help@gnu.org") {
  fileinto "lists.emacs.emms-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<ess-help.r-project.org>",
          header :contains ["To","Cc"]
            "ess-help@r-project.org") {
  fileinto "lists.emacs.ess-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<~technomancy/fennel.lists.sr.ht>",
          header :contains ["To","Cc"]
            "~technomancy/fennel@lists.sr.ht") {


@@ 88,6 176,14 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<geiser-users.nongnu.org>",
          header :contains ["To","Cc"]
            "geiser-users@nongnu.org") {
  fileinto "lists.emacs.geiser-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<git.vger.kernel.org>",
          header :contains ["To","Cc"]
            "git@vger.kernel.org") {


@@ 128,6 224,14 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<guile-avahi-bugs.nongnu.org>",
          header :contains ["To","Cc"]
            "guile-avahi-bugs@nongnu.org") {
  fileinto "lists.guile.guile-avahi";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<bug-guile.gnu.org>",
          header :contains ["To","Cc"]
            "bug-guile@gnu.org") {


@@ 144,6 248,22 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<guile-git-devel.nongnu.org>",
          header :contains ["To","Cc"]
            "guile-git-devel@nongnu.org") {
  fileinto "lists.guile.guile-git";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<guile-reader-devel.nongnu.org>",
          header :contains ["To","Cc"]
            "guile-reader-devel@nongnu.org") {
  fileinto "lists.guile.guile-reader";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<~yoctocell/guile-sourcehut.lists.sr.ht>",
          header :contains ["To","Cc"]
            "~yoctocell/guile-sourcehut@lists.sr.ht") {


@@ 240,6 360,22 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<tools.linux.kernel.org>",
          header :contains ["To","Cc"]
            "tools@linux.kernel.org") {
  fileinto "lists.kernel.tools";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<workflows.vger.kernel.org>",
          header :contains ["To","Cc"]
            "workflows@vger.kernel.org") {
  fileinto "lists.kernel.workflows";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<nix.noreply.github.com>",
          header :contains ["To","Cc"]
            "nix@noreply.github.com") {


@@ 360,6 496,14 @@ elsif anyof (header :contains ["List-Id"]

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<emacs-shroud-user.nongnu.org>",
          header :contains ["To","Cc"]
            "emacs-shroud-user@nongnu.org") {
  fileinto "lists.emacs.shroud-user";
}

elsif anyof (header :contains ["List-Id"]
            # Replace "@" with "." in list-id
            "<~sircmpwn/public-inbox.lists.sr.ht>",
          header :contains ["To","Cc"]
            "~sircmpwn/public-inbox@lists.sr.ht") {