-# http://thsmi.github.com/sieve-reference/en/
+# https://thsmi.github.com/sieve-reference/en/
+# NB: Don't need to manually compile this as getmail will do it automatically.
require "fileinto";
require "imap4flags";
# apcupsd
header :contains "List-Id" "<apcupsd-users.lists.sourceforge.net>",
# autotools
+ header :contains "List-Id" "<autoconf.gnu.org>",
+ header :contains "List-Id" "<automake.gnu.org>",
header :contains "List-Id" "<libtool.gnu.org>",
+ header :contains "List-Id" "<bug-autoconf.gnu.org>",
header :contains "List-Id" "<bug-automake.gnu.org>",
header :contains "List-Id" "<bug-libtool.gnu.org>",
- header :contains "List-Id" "<bug-autoconf.gnu.org>",
- header :contains "List-Id" "<autoconf.gnu.org>",
header :contains "List-Id" "<bug-m4.gnu.org>",
+ header :contains "List-Id" "<autoconf-patches.gnu.org>",
+ header :contains "List-Id" "<automake-patches.gnu.org>",
+ header :contains "List-Id" "<patches-libtool.gnu.org>",
+ header :contains "List-Id" "<patches-m4.gnu.org>",
+ header :contains "X-Gnu-PR-Package" "autoconf",
+ header :contains "X-Gnu-PR-Package" "automake",
+ header :contains "X-Gnu-PR-Package" "libtool",
# bash
header :contains "List-Id" "<bug-bash.gnu.org>",
# bitpim
header :contains "List-Id" "<bitpim-devel.lists.sourceforge.net>",
+ # bzip2
+ header :contains "List-Id" "<bzip2-devel_sourceware.org>",
+ header :contains "To" "bzip2-devel@sourceware.org",
+ header :contains "Cc" "bzip2-devel@sourceware.org",
# chrome
header :contains "List-Id" "<chrome-notebook-pilot-users.googlegroups.com>",
# cldr
header :contains "List-Id" "<mpfr.loria.fr>",
# mtools
header :contains "List-Id" "<info-mtools.gnu.org>",
+ # mutt
+ header :contains "List-Id" "<mutt-dev.mutt.org>",
# nano
header :contains "List-Id" "<nano-devel.gnu.org>",
# nasm
header :contains "Sender" "owner-openssl-dev@openssl.org",
# strace
header :contains "List-Id" "<strace-devel.lists.sourceforge.net>",
+ header :contains "List-Id" "<strace-devel.lists.strace.io>",
header :contains "To" "strace-devel@lists.sourceforge.net",
header :contains "Cc" "strace-devel@lists.sourceforge.net",
+ header :contains "To" "strace-devel@lists.strace.io",
+ header :contains "Cc" "strace-devel@lists.strace.io",
# sudo
header :contains "List-Id" "<sudo-workers.sudo.ws>",
# syslinux
#
# Gentoo: graphics
-if anyof (
- header :contains "To" "graphics@gentoo.org",
- header :contains "Cc" "graphics@gentoo.org"
-)
-{
- fileinto "gentoo.org/bugs/graphics";
- stop;
-}
+#if anyof (
+# header :contains "To" "graphics@gentoo.org",
+# header :contains "Cc" "graphics@gentoo.org"
+#)
+#{
+# fileinto "gentoo.org/bugs/graphics";
+# stop;
+#}
# Gentoo: openrc
if anyof (
header :contains "Cc" "gentoo-doc@lists.gentoo.org"
)
{
- fileinto "gentoo.org/docs";
+ fileinto "gentoo.org/dev";
stop;
}
}
# Gentoo: security bugzilla
- elsif allof (header :contains "To" "security@gentoo.org")
- {
- fileinto "gentoo.org/bugs/hardened";
- stop;
- }
+# elsif allof (header :contains "To" "security@gentoo.org")
+# {
+# fileinto "gentoo.org/bugs/hardened";
+# stop;
+# }
# Gentoo: bugzilla me
elsif allof (header :contains "To" "vapier@gentoo.org")
}
# Gentoo: arches
- elsif allof (header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org")
+ elsif allof (header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org")
{
# stable/keyword req
- if anyof(header :regex "X-Bugzilla-Keywords" "((KEYWORD|STABLE)REQ|TESTFAILURE)")
+ if anyof(
+ header :regex "X-Bugzilla-Keywords" "((KEYWORD|STABLE)REQ|TESTFAILURE|CC-ARCHES)",
+ header :regex "X-Bugzilla-Component" "(Keywording|Stabilization)"
+ )
{
setflag "\\Seen";
fileinto "gentoo.org/bugs/arches/noise";
# Gentoo: arches
if anyof (
- header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org",
- header :regex "Cc" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org"
+ header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org",
+ header :regex "Cc" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org"
)
{
fileinto "gentoo.org/bugs/arches";
}
# Gentoo: -commits
-if anyof (header :contains "List-Id" "<gentoo-commits.gentoo.org>")
-{
- fileinto "gentoo.org/commits";
- stop;
-}
+#if anyof (header :contains "List-Id" "<gentoo-commits.gentoo.org>")
+#{
+# fileinto "gentoo.org/commits";
+# stop;
+#}
if anyof (
+ # Don't really get mail from this anymore.
+ header :contains "List-Id" "<gentoo-commits.gentoo.org>",
# -project
header :contains "List-Id" "<gentoo-project.gentoo.org>",
header :contains "List-Id" "<gentoo-soc.gentoo.org>",
header :contains "List-Id" "<gentoo-dev-announce.gentoo.org>",
header :contains "List-Id" "<gentoo-devhelp.gentoo.org>",
header :contains "From" "no-reply@socghop.appspotmail.com",
+ # gentoo-nfp
+ header :contains "List-Id" "<gentoo-nfp.gentoo.org>",
# gentoo-licenses
header :contains "List-Id" "<gentoo-licenses.gentoo.org>",
# gentoo-qa
stop;
}
-# Gentoo: NFP
-if anyof (header :contains "List-Id" "<gentoo-nfp.gentoo.org>")
-{
- fileinto "gentoo.org/nfp";
- stop;
-}
-
# Gentoo: -core
if anyof (header :contains "List-Id" "<gentoo-core.gentoo.org>")
{