1 # https://thsmi.github.com/sieve-reference/en/
2 # NB: Don't need to manually compile this as getmail will do it automatically.
8 # require "vnd.dovecot.debug";
12 if anyof (header :contains "CC" "vapier@gentoo.org")
22 header :regex "Subject" "(Buy OEM|0EM) Software",
23 header :is "Subject" "cheap oem soft shipping //orldwide",
24 header :is "Subject" "Corel Draw",
25 header :regex "Subject" "Last chance (for lower rates|to supercharge)"
32 header :contains "Content-Type" "text/html;",
33 body :raw :contains ["<html>", "<tbody>"]
36 fileinto "trash/spam";
39 #if anyof (body :raw :regex ["filename=.*\.exe", "filename=.*\.pif", "filename=.*\.scr", "filename=.*\.zip"])
41 # fileinto "trash/spam";
48 header :contains "List-Id" "<busybox-compliance.sfconservancy.org>",
49 header :contains "To" "busybox-compliance@sfconservancy.org",
50 header :contains "List-Id" "<linux-compliance.sfconservancy.org>"
53 fileinto "misc projects/sfc";
59 #if anyof (header :contains "From" "@chromium.org")
67 header :contains "List-Id" "<users.linux.kernel.org>",
68 header :contains "List-id" "<linux-arch.vger.kernel.org>"
71 fileinto "misc projects/linux";
78 header :contains "List-Id" "<devicetree.vger.kernel.org>",
79 header :contains "List-Id" "<devicetree-compiler.vger.kernel.org>"
82 fileinto "misc projects/linux/embedded";
92 header :contains "List-Id" "<acl-devel.nongnu.org>",
93 header :contains "To" "acl-devel@nongnu.org",
94 header :contains "Cc" "acl-devel@nongnu.org",
96 header :contains "List-Id" "<alsa-devel.alsa-project.org>",
98 header :contains "List-Id" "<apcupsd-users.lists.sourceforge.net>",
100 header :contains "List-Id" "<autoconf.gnu.org>",
101 header :contains "List-Id" "<automake.gnu.org>",
102 header :contains "List-Id" "<libtool.gnu.org>",
103 header :contains "List-Id" "<bug-autoconf.gnu.org>",
104 header :contains "List-Id" "<bug-automake.gnu.org>",
105 header :contains "List-Id" "<bug-libtool.gnu.org>",
106 header :contains "List-Id" "<bug-m4.gnu.org>",
107 header :contains "List-Id" "<autoconf-patches.gnu.org>",
108 header :contains "List-Id" "<automake-patches.gnu.org>",
109 header :contains "List-Id" "<patches-libtool.gnu.org>",
110 header :contains "List-Id" "<patches-m4.gnu.org>",
111 header :contains "X-Gnu-PR-Package" "autoconf",
112 header :contains "X-Gnu-PR-Package" "automake",
113 header :contains "X-Gnu-PR-Package" "libtool",
115 header :contains "List-Id" "<bug-bash.gnu.org>",
117 header :contains "List-Id" "<bitpim-devel.lists.sourceforge.net>",
119 header :contains "List-Id" "<bzip2-devel_sourceware.org>",
120 header :contains "To" "bzip2-devel@sourceware.org",
121 header :contains "Cc" "bzip2-devel@sourceware.org",
123 header :contains "List-Id" "<chrome-notebook-pilot-users.googlegroups.com>",
125 header :contains "List-Id" "<cldr-users.unicode.org>",
127 header :contains "List-Id" "<colinux-users.lists.sourceforge.net>",
129 header :contains "List-Id" "<bug-coreutils.gnu.org>",
130 header :contains "List-Id" "<coreutils.gnu.org>",
131 header :contains "List-Id" "<bug-coreutils.nongnu.org>",
133 header :contains "List-Id" "<bug-cpio.gnu.org>",
135 header :contains "List-Id" "<cracklib-devel.lists.sourceforge.net>",
137 header :contains "To" "dietlibc@fefe.de",
138 header :contains "Cc" "dietlibc@fefe.de",
140 header :contains "List-Id" "<directfb-users.directfb.org>",
141 header :contains "List-Id" "<directfb-dev.directfb.org>",
143 header :contains "List-Id" "<dokuwiki.list-id.freelists.org>",
145 header :contains "List-Id" "<dropbear.ucc.asn.au>",
147 header :contains "Subject" "[Dxr2-devel]",
149 header :contains "List-Id" "<bug-ed.gnu.org>",
151 header :contains "List-Id" "<file.mx.gw.com>",
152 # fontforge/fontconfig
153 header :contains "List-Id" "<fontforge-devel.lists.sourceforge.net>",
154 header :contains "List-Id" "<fontconfig.lists.freedesktop.org>",
156 header :contains "List-Post" "<mailto:gd-devel@lists.php.net>",
157 header :contains "To" "security@libgd.org",
158 header :contains "Cc" "security@libgd.org",
160 header :contains "List-Id" "<genext2fs-devel.lists.sourceforge.net>",
162 header :contains "List-Id" "<bug-gnulib.gnu.org>",
164 header :contains "List-Id" "<gpm.lists.linux.it>",
166 header :contains "List-Id" "<gpsd-dev.nongnu.org>",
168 header :contains "List-Id" "<bug-grep.gnu.org>",
170 header :contains "List-Id" "<bug-gzip.gnu.org>",
172 header :contains "List-Id" "<hal.lists.freedesktop.org>",
174 header :contains "List-Id" "<insight.sourceware.org>",
176 header :contains "List-Id" "<gmp-discuss.gmplib.org>",
177 header :contains "List-Id" "<gmp-bugs.gmplib.org>",
178 header :contains "List-Id" "<gmp-devel.gmplib.org>",
180 header :contains "List-Id" "<k3b-user.lists.sourceforge.net>",
182 header :contains "List-Id" "<kbd.lists.altlinux.org>",
184 header :contains "List-Id" "<libquicktime-devel.lists.sourceforge.net>",
186 header :contains "List-Id" "<libtirpc-devel.lists.sourceforge.net>",
188 header :contains "List-Id" "<linux-api.vger.kernel.org>",
190 header :contains "List-Id" "<linux-man.vger.kernel.org>",
192 header :contains "List-Id" "<lirc-list.lists.sourceforge.net>",
194 header :contains "List-Id" "<ltp-list.lists.sourceforge.net>",
195 header :contains "List-Id" "<ltp.lists.linux.it>",
197 header :contains "To" "wagner@pint.elegosoft.com",
198 header :contains "Cc" "wagner@pint.elegosoft.com",
199 header :contains "To" "m3devel@elegosoft.com",
200 header :contains "Cc" "m3devel@elegosoft.com",
201 header :contains "To" "m3devel@birch.elego.de",
202 header :contains "Cc" "m3devel@birch.elego.de",
204 header :contains "List-Id" "<metalog-users.lists.sourceforge.net>",
206 header :contains "To" "dvdnav-discuss@mplayerhq.hu",
207 header :contains "Cc" "dvdnav-discuss@mplayerhq.hu",
209 header :contains "List-Id" "<linux-modules.vger.kernel.org>",
211 header :contains "List-Id" "<mpfr.loria.fr>",
213 header :contains "List-Id" "<info-mtools.gnu.org>",
215 header :contains "List-Id" "<mutt-dev.mutt.org>",
217 header :contains "List-Id" "<nano-devel.gnu.org>",
219 header :contains "List-Id" "<nasm-devel.lists.sourceforge.net>",
221 header :contains "List-Id" "<nbd-general.lists.sourceforge.net>",
223 header :contains "List-Id" "<bug-ncurses.gnu.org>",
225 header :contains "List-Id" "<net-tools-devel.lists.sourceforge.net>",
227 header :contains "List-Id" "<nfs.lists.sourceforge.net>",
228 header :contains "List-Id" "<linux-nfs.vger.kernel.org>",
230 header :contains "List-Id" "<ode.ode.org>",
231 header :contains "List-Id" "<ode.q12.org>",
233 header :contains "X-Loop" "austin-group-l@opengroup.org",
235 header :contains "List-Id" "<discuss.lesswatts.org>",
237 header :contains "List-Id" "<procps.freelists.org>",
239 header :contains "List-Id" "<bug-patch.gnu.org>",
241 header :contains "List-Id" "<bug-readline.gnu.org>",
243 header :contains "List-Id" "<reiserfs-devel.vger.kernel.org>",
245 header :contains "List-Id" "<rsync.lists.samba.org>",
247 header :contains "List-Id" "<sdl.libsdl.org>",
248 header :contains "List-Id" "<sdl-libsdl.org>",
250 header :contains "List-Id" "<shadow.pld.org.pl>",
251 header :contains "List-Id" "<pkg-shadow-devel.lists.alioth.debian.org>",
253 header :contains "List-Id" "<sigrok-devel.lists.sourceforge.net>",
255 header :contains "List-Id" "<speex-dev.xiph.org>",
257 header :contains "List-Id" "<sqlite-users.sqlite.org>",
259 header :contains "Sender" "owner-openssl-dev@openssl.org",
261 header :contains "List-Id" "<strace-devel.lists.sourceforge.net>",
262 header :contains "List-Id" "<strace-devel.lists.strace.io>",
263 header :contains "To" "strace-devel@lists.sourceforge.net",
264 header :contains "Cc" "strace-devel@lists.sourceforge.net",
265 header :contains "To" "strace-devel@lists.strace.io",
266 header :contains "Cc" "strace-devel@lists.strace.io",
268 header :contains "List-Id" "<sudo-workers.sudo.ws>",
270 header :contains "List-Id" "<syslinux.zytor.com>",
272 header :contains "List-Id" "<sysvinit-devel.nongnu.org>",
274 header :contains "List-Id" "<bug-tar.gnu.org>",
276 header :contains "List-Id" "<tz.iana.org>",
278 header :contains "List-Id" "<uclinux-dev.uclinux.org>",
280 header :contains "List-Id" "<linux-hotplug-devel.lists.sourceforge.net>",
282 header :contains "List-Id" "<urjtag-development.lists.sourceforge.net>",
284 header :contains "X-Mailing-List" "util-linux@vger.kernel.org",
286 header :contains "List-Id" "<bug-wget.gnu.org>",
288 header :contains "List-Id" "<yasm-devel.tortall.net>",
290 header :contains "List-Id" "<zlib-devel_madler.net.madler.net>",
291 header :contains "To" "zlib-devel@madler.net",
292 header :contains "Cc" "zlib-devel@madler.net"
295 fileinto "misc projects";
301 header :contains "List-Id" "<uclibc.uclibc.org>",
302 header :contains "List-Id" "<uclibc-cvs.uclibc.org>",
303 header :contains "List-Id" "<uclibc-admins.lists.busybox.net>",
304 header :contains "To" "uclibc@uclibc.org",
305 header :contains "Cc" "uclibc@uclibc.org",
306 header :contains "To" "uclibc-cvs@uclibc.org",
307 header :contains "Cc" "uclibc-cvs@uclibc.org"
310 fileinto "misc projects/uclibc";
314 # Project: busybox (after uClibc)
316 header :contains "List-Id" "<busybox.mail.busybox.net>",
317 header :contains "List-Id" "<busybox-cvs.busybox.net>",
318 header :contains "List-Id" "<busybox.busybox.net>",
319 header :contains "To" "busybox@busybox.net",
320 header :contains "Cc" "busybox@busybox.net"
323 fileinto "misc projects/busybox";
327 # buildroot (after uClibc)
329 header :contains "List-Id" "<buildroot.busybox.net>",
330 header :contains "To" "buildroot@buildroot.org",
331 header :contains "Cc" "buildroot@buildroot.org"
334 fileinto "misc projects/buildroot";
343 header :contains "List-Id" "<gdb-patches.sourceware.org>",
344 header :contains "List-Id" "<gdb.sourceware.org>",
345 header :contains "To" "gdb@sourceware.org",
346 header :contains "Cc" "gdb@sourceware.org",
347 header :contains "To" "gdb-patches@sourceware.org",
348 header :contains "Cc" "gdb-patches@sourceware.org"
351 fileinto "misc projects/toolchain";
353 if anyof(body :text :contains "sim/")
362 header :contains "List-Id" "<bug-binutils.gnu.org>",
363 header :contains "List-Post" "<mailto:binutils@sourceware.org>",
365 header :contains "List-Id" "<ccache.lists.samba.org>",
367 header :contains "List-Id" "<elfutils-devel.lists.fedorahosted.org>",
368 header :contains "To" "elfutils-devel@lists.fedorahosted.org",
369 header :contains "Cc" "elfutils-devel@lists.fedorahosted.org",
370 header :contains "List-Id" "<elfutils-devel.sourceware.org>",
372 header :contains "List-Post" "<mailto:gcc-patches@gcc.gnu.org>",
374 header :regex "List-Post" "<mailto:libc-(alpha|help|locales|ports|stable)@sourceware\.org>",
375 header :regex "To" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
376 header :regex "Cc" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
378 header :contains "List-Id" "<config-patches.gnu.org>",
380 header :contains "List-Post" "<mailto:newlib@sourceware.org>",
382 header :contains "List-Post" "<mailto:qemu-devel@nongnu.org>",
383 header :contains "To" "qemu-devel@nongnu.org",
384 header :contains "Cc" "qemu-devel@nongnu.org",
386 header :contains "List-Post" "<mailto:cgen@sourceware.org>",
387 header :contains "List-Post" "<mailto:crossgcc@sourceware.org>",
388 header :contains "From" "sourceware-bugzilla@sourceware.org",
390 header :contains "To" "libunwind-devel@nongnu.org",
391 header :contains "Cc" "libunwind-devel@nongnu.org"
394 fileinto "misc projects/toolchain";
401 header :contains "List-Id" "<enlightenment-cvs.lists.sourceforge.net>",
402 header :contains "List-Id" "<enlightenment-devel.lists.sourceforge.net>",
403 header :contains "List-Id" "<evidence-cvs.lists.sourceforge.net>"
406 fileinto "misc projects/e";
413 header :contains "List-Id" "<u-boot-users.lists.sourceforge.net>",
414 header :contains "List-Id" "<u-boot.lists.denx.de>",
415 header :contains "To" "u-boot@lists.denx.de",
416 header :contains "Cc" "u-boot@lists.denx.de"
419 fileinto "misc projects/u-boot";
429 header :contains "List-Id" "<linux-alpha.vger.kernel.org>",
431 header :contains "List-Id" "<boot-architecture.lists.linaro.org>",
432 header :contains "List-Id" "<cross-distro.lists.linaro.org>",
433 header :contains "List-Id" "<armedslack.lists.armedslack.org>",
434 header :contains "List-Id" "<iyonix-support.freelists.org>",
436 header :contains "List-Id" "<uclinux-dist-devel.blackfin.uclinux.org>",
438 header :contains "X-Mailing-List" "linux-s390@vger.kernel.org",
439 header :contains "List-Id" "<hercules-390.yahoogroups.com>",
440 header :contains "To" "linux-390@vm.marist.edu",
441 header :contains "Cc" "linux-390@vm.marist.edu",
443 header :contains "List-Id" "linux-mac68k.lists.purplehat.net",
445 header :contains "List-Id" "<parisc-linux.lists.parisc-linux.org>",
446 header :contains "List-Id" "<linux-parisc.vger.kernel.org>",
448 header :contains "List-Id" "<linuxsh-dev.lists.sourceforge.net>",
449 header :contains "List-Id" "<linuxsh-cvs.lists.sourceforge.net>",
450 header :contains "List-Id" "<linuxdc-dev.lists.sourceforge.net>",
451 header :contains "List-Id" "<linux-sh.vger.kernel.org>"
454 fileinto "misc projects/archs";
465 # header :contains "To" "graphics@gentoo.org",
466 # header :contains "Cc" "graphics@gentoo.org"
469 # fileinto "gentoo.org/bugs/graphics";
475 header :contains "To" "openrc@gentoo.org",
476 header :contains "Cc" "openrc@gentoo.org"
479 fileinto "gentoo.org/bugs/base-system/openrc";
483 # Gentoo: base-system
485 header :contains "To" "base-system@gentoo.org",
486 header :contains "Cc" "base-system@gentoo.org"
489 fileinto "gentoo.org/bugs/base-system";
495 header :regex "To" "(dev|tools)-portage@gentoo\\.org",
496 header :regex "Cc" "(dev|tools)-portage@gentoo\\.org",
497 header :contains "List-Id" "<gentoo-portage-dev.gentoo.org>"
500 fileinto "gentoo.org/bugs/portage";
504 # Gentoo: portage utils
506 header :contains "To" "portage-utils@gentoo.org",
507 header :contains "Cc" "portage-utils@gentoo.org"
510 fileinto "gentoo.org/bugs/portage-utils";
516 header :contains "To" "docs-team@gentoo.org",
517 header :contains "Cc" "docs-team@gentoo.org",
518 header :contains "To" "gentoo-doc@lists.gentoo.org",
519 header :contains "Cc" "gentoo-doc@lists.gentoo.org"
522 fileinto "gentoo.org/dev";
526 if allof (header :contains "From" "bugzilla-daemon@gentoo.org")
530 # Gentoo: toolchain/gcc-porting
531 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
533 fileinto "gentoo.org/bugs/toolchain";
538 elsif allof (header :contains "To" "games@gentoo.org")
540 fileinto "gentoo.org/bugs/games";
544 # Gentoo: security bugzilla
545 # elsif allof (header :contains "To" "security@gentoo.org")
547 # fileinto "gentoo.org/bugs/hardened";
551 # Gentoo: bugzilla me
552 elsif allof (header :contains "To" "vapier@gentoo.org")
554 fileinto "gentoo.org/bugs/mine";
559 elsif allof (header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org")
563 header :regex "X-Bugzilla-Keywords" "((KEYWORD|STABLE)REQ|TESTFAILURE|CC-ARCHES)",
564 header :regex "X-Bugzilla-Component" "(Keywording|Stabilization)"
568 fileinto "gentoo.org/bugs/arches/noise";
573 elsif anyof (header :regex "X-Bugzilla-Assigned-To" "(toolchain|security|base-system|games|sandbox)@gentoo.org")
581 fileinto "gentoo.org/bugs";
587 header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org",
588 header :regex "Cc" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|riscv|s390|sh|sparc|x86)@gentoo.org"
591 fileinto "gentoo.org/bugs/arches";
597 header :contains "List-Id" "<gentoo-embedded.gentoo.org>",
598 header :contains "To" "dev-embedded@gentoo.org",
599 header :contains "Cc" "dev-embedded@gentoo.org",
600 header :contains "To" "gentoo-mips@lists.gentoo.org",
601 header :contains "Cc" "gentoo-mips@lists.gentoo.org"
604 fileinto "gentoo.org/embedded";
609 #if anyof (header :contains "List-Id" "<gentoo-commits.gentoo.org>")
611 # fileinto "gentoo.org/commits";
616 # Don't really get mail from this anymore.
617 header :contains "List-Id" "<gentoo-commits.gentoo.org>",
619 header :contains "List-Id" "<gentoo-project.gentoo.org>",
620 header :contains "List-Id" "<gentoo-soc.gentoo.org>",
621 header :contains "List-Id" "<gentoo-scm.gentoo.org>",
622 header :contains "To" "soc-mentors@gentoo.org",
623 header :contains "Cc" "soc-mentors@gentoo.org",
625 header :contains "List-Id" "<gentoo-dev.gentoo.org>",
626 header :contains "List-Id" "<gentoo-dev-announce.gentoo.org>",
627 header :contains "List-Id" "<gentoo-devhelp.gentoo.org>",
628 header :contains "From" "no-reply@socghop.appspotmail.com",
630 header :contains "List-Id" "<gentoo-nfp.gentoo.org>",
632 header :contains "List-Id" "<gentoo-licenses.gentoo.org>",
634 header :contains "List-Id" "<gentoo-qa.gentoo.org>"
637 fileinto "gentoo.org/dev";
642 if anyof (header :contains "List-ID" "<gentoo.gentoo.github.com>")
644 fileinto "gentoo.org/github";
649 if anyof (header :contains "List-Id" "<gentoo-core.gentoo.org>")
651 fileinto "gentoo.org/core";
655 # Gentoo: toolchain [not bugs]
656 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
658 fileinto "gentoo.org/bugs/toolchain/list";
663 if anyof (header :contains "List-Id" "<gentoo-catalyst.gentoo.org>")
665 fileinto "gentoo.org";
671 header :contains "To" "security@gentoo.org",
672 header :contains "Cc" "security@gentoo.org",
673 header :contains "To" "gentoo-hardened@lists.gentoo.org",
674 header :contains "Cc" "gentoo-hardened@lists.gentoo.org",
675 header :contains "To" "gentoo-security@lists.gentoo.org",
676 header :contains "Cc" "gentoo-security@lists.gentoo.org"
679 fileinto "gentoo.org/hardened";
685 header :contains "To" "vapier@gentoo.org",
686 header :contains "Cc" "vapier@gentoo.org",
687 header :contains "From" "vapier@gentoo.org",
689 header :contains "To" "gentoo-dev-announce+moderators@lists.gentoo.org",
690 header :contains "Cc" "gentoo-dev-announce+moderators@lists.gentoo.org"
693 fileinto "gentoo.org";