1 # http://thsmi.github.com/sieve-reference/en/
7 # require "vnd.dovecot.debug";
11 if anyof (header :contains "CC" "vapier@gentoo.org")
21 header :regex "Subject" "(Buy OEM|0EM) Software",
22 header :is "Subject" "cheap oem soft shipping //orldwide",
23 header :is "Subject" "Corel Draw",
24 header :regex "Subject" "Last chance (for lower rates|to supercharge)"
31 header :contains "Content-Type" "text/html;",
32 body :raw :contains ["<html>", "<tbody>"]
35 fileinto "trash/spam";
38 #if anyof (body :raw :regex ["filename=.*\.exe", "filename=.*\.pif", "filename=.*\.scr", "filename=.*\.zip"])
40 # fileinto "trash/spam";
47 header :contains "List-Id" "<busybox-compliance.sfconservancy.org>",
48 header :contains "To" "busybox-compliance@sfconservancy.org",
49 header :contains "List-Id" "<linux-compliance.sfconservancy.org>"
52 fileinto "misc projects/sfc";
58 #if anyof (header :contains "From" "@chromium.org")
66 header :contains "List-Id" "<users.linux.kernel.org>",
67 header :contains "List-id" "<linux-arch.vger.kernel.org>"
70 fileinto "misc projects/linux";
77 header :contains "List-Id" "<devicetree.vger.kernel.org>",
78 header :contains "List-Id" "<devicetree-compiler.vger.kernel.org>"
81 fileinto "misc projects/linux/embedded";
91 header :contains "List-Id" "<acl-devel.nongnu.org>",
92 header :contains "To" "acl-devel@nongnu.org",
93 header :contains "Cc" "acl-devel@nongnu.org",
95 header :contains "List-Id" "<alsa-devel.alsa-project.org>",
97 header :contains "List-Id" "<apcupsd-users.lists.sourceforge.net>",
99 header :contains "List-Id" "<libtool.gnu.org>",
100 header :contains "List-Id" "<bug-automake.gnu.org>",
101 header :contains "List-Id" "<bug-libtool.gnu.org>",
102 header :contains "List-Id" "<bug-autoconf.gnu.org>",
103 header :contains "List-Id" "<autoconf.gnu.org>",
104 header :contains "List-Id" "<bug-m4.gnu.org>",
106 header :contains "List-Id" "<bug-bash.gnu.org>",
108 header :contains "List-Id" "<bitpim-devel.lists.sourceforge.net>",
110 header :contains "List-Id" "<chrome-notebook-pilot-users.googlegroups.com>",
112 header :contains "List-Id" "<cldr-users.unicode.org>",
114 header :contains "List-Id" "<colinux-users.lists.sourceforge.net>",
116 header :contains "List-Id" "<bug-coreutils.gnu.org>",
117 header :contains "List-Id" "<coreutils.gnu.org>",
118 header :contains "List-Id" "<bug-coreutils.nongnu.org>",
120 header :contains "List-Id" "<bug-cpio.gnu.org>",
122 header :contains "List-Id" "<cracklib-devel.lists.sourceforge.net>",
124 header :contains "To" "dietlibc@fefe.de",
125 header :contains "Cc" "dietlibc@fefe.de",
127 header :contains "List-Id" "<directfb-users.directfb.org>",
128 header :contains "List-Id" "<directfb-dev.directfb.org>",
130 header :contains "List-Id" "<dokuwiki.list-id.freelists.org>",
132 header :contains "List-Id" "<dropbear.ucc.asn.au>",
134 header :contains "Subject" "[Dxr2-devel]",
136 header :contains "List-Id" "<bug-ed.gnu.org>",
138 header :contains "List-Id" "<file.mx.gw.com>",
139 # fontforge/fontconfig
140 header :contains "List-Id" "<fontforge-devel.lists.sourceforge.net>",
141 header :contains "List-Id" "<fontconfig.lists.freedesktop.org>",
143 header :contains "List-Post" "<mailto:gd-devel@lists.php.net>",
144 header :contains "To" "security@libgd.org",
145 header :contains "Cc" "security@libgd.org",
147 header :contains "List-Id" "<genext2fs-devel.lists.sourceforge.net>",
149 header :contains "List-Id" "<bug-gnulib.gnu.org>",
151 header :contains "List-Id" "<gpm.lists.linux.it>",
153 header :contains "List-Id" "<gpsd-dev.nongnu.org>",
155 header :contains "List-Id" "<bug-grep.gnu.org>",
157 header :contains "List-Id" "<bug-gzip.gnu.org>",
159 header :contains "List-Id" "<hal.lists.freedesktop.org>",
161 header :contains "List-Id" "<insight.sourceware.org>",
163 header :contains "List-Id" "<gmp-discuss.gmplib.org>",
164 header :contains "List-Id" "<gmp-bugs.gmplib.org>",
165 header :contains "List-Id" "<gmp-devel.gmplib.org>",
167 header :contains "List-Id" "<k3b-user.lists.sourceforge.net>",
169 header :contains "List-Id" "<kbd.lists.altlinux.org>",
171 header :contains "List-Id" "<libquicktime-devel.lists.sourceforge.net>",
173 header :contains "List-Id" "<libtirpc-devel.lists.sourceforge.net>",
175 header :contains "List-Id" "<linux-api.vger.kernel.org>",
177 header :contains "List-Id" "<linux-man.vger.kernel.org>",
179 header :contains "List-Id" "<lirc-list.lists.sourceforge.net>",
181 header :contains "List-Id" "<ltp-list.lists.sourceforge.net>",
182 header :contains "List-Id" "<ltp.lists.linux.it>",
184 header :contains "To" "wagner@pint.elegosoft.com",
185 header :contains "Cc" "wagner@pint.elegosoft.com",
186 header :contains "To" "m3devel@elegosoft.com",
187 header :contains "Cc" "m3devel@elegosoft.com",
188 header :contains "To" "m3devel@birch.elego.de",
189 header :contains "Cc" "m3devel@birch.elego.de",
191 header :contains "List-Id" "<metalog-users.lists.sourceforge.net>",
193 header :contains "To" "dvdnav-discuss@mplayerhq.hu",
194 header :contains "Cc" "dvdnav-discuss@mplayerhq.hu",
196 header :contains "List-Id" "<linux-modules.vger.kernel.org>",
198 header :contains "List-Id" "<mpfr.loria.fr>",
200 header :contains "List-Id" "<info-mtools.gnu.org>",
202 header :contains "List-Id" "<nano-devel.gnu.org>",
204 header :contains "List-Id" "<nasm-devel.lists.sourceforge.net>",
206 header :contains "List-Id" "<nbd-general.lists.sourceforge.net>",
208 header :contains "List-Id" "<bug-ncurses.gnu.org>",
210 header :contains "List-Id" "<net-tools-devel.lists.sourceforge.net>",
212 header :contains "List-Id" "<nfs.lists.sourceforge.net>",
213 header :contains "List-Id" "<linux-nfs.vger.kernel.org>",
215 header :contains "List-Id" "<ode.ode.org>",
216 header :contains "List-Id" "<ode.q12.org>",
218 header :contains "X-Loop" "austin-group-l@opengroup.org",
220 header :contains "List-Id" "<discuss.lesswatts.org>",
222 header :contains "List-Id" "<procps.freelists.org>",
224 header :contains "List-Id" "<bug-patch.gnu.org>",
226 header :contains "List-Id" "<bug-readline.gnu.org>",
228 header :contains "List-Id" "<reiserfs-devel.vger.kernel.org>",
230 header :contains "List-Id" "<rsync.lists.samba.org>",
232 header :contains "List-Id" "<sdl.libsdl.org>",
233 header :contains "List-Id" "<sdl-libsdl.org>",
235 header :contains "List-Id" "<shadow.pld.org.pl>",
236 header :contains "List-Id" "<pkg-shadow-devel.lists.alioth.debian.org>",
238 header :contains "List-Id" "<sigrok-devel.lists.sourceforge.net>",
240 header :contains "List-Id" "<speex-dev.xiph.org>",
242 header :contains "List-Id" "<sqlite-users.sqlite.org>",
244 header :contains "Sender" "owner-openssl-dev@openssl.org",
246 header :contains "List-Id" "<strace-devel.lists.sourceforge.net>",
247 header :contains "To" "strace-devel@lists.sourceforge.net",
248 header :contains "Cc" "strace-devel@lists.sourceforge.net",
250 header :contains "List-Id" "<sudo-workers.sudo.ws>",
252 header :contains "List-Id" "<syslinux.zytor.com>",
254 header :contains "List-Id" "<sysvinit-devel.nongnu.org>",
256 header :contains "List-Id" "<bug-tar.gnu.org>",
258 header :contains "List-Id" "<tz.iana.org>",
260 header :contains "List-Id" "<uclinux-dev.uclinux.org>",
262 header :contains "List-Id" "<linux-hotplug-devel.lists.sourceforge.net>",
264 header :contains "List-Id" "<urjtag-development.lists.sourceforge.net>",
266 header :contains "X-Mailing-List" "util-linux@vger.kernel.org",
268 header :contains "List-Id" "<bug-wget.gnu.org>",
270 header :contains "List-Id" "<yasm-devel.tortall.net>",
272 header :contains "List-Id" "<zlib-devel_madler.net.madler.net>",
273 header :contains "To" "zlib-devel@madler.net",
274 header :contains "Cc" "zlib-devel@madler.net"
277 fileinto "misc projects";
283 header :contains "List-Id" "<uclibc.uclibc.org>",
284 header :contains "List-Id" "<uclibc-cvs.uclibc.org>",
285 header :contains "List-Id" "<uclibc-admins.lists.busybox.net>",
286 header :contains "To" "uclibc@uclibc.org",
287 header :contains "Cc" "uclibc@uclibc.org",
288 header :contains "To" "uclibc-cvs@uclibc.org",
289 header :contains "Cc" "uclibc-cvs@uclibc.org"
292 fileinto "misc projects/uclibc";
296 # Project: busybox (after uClibc)
298 header :contains "List-Id" "<busybox.mail.busybox.net>",
299 header :contains "List-Id" "<busybox-cvs.busybox.net>",
300 header :contains "List-Id" "<busybox.busybox.net>",
301 header :contains "To" "busybox@busybox.net",
302 header :contains "Cc" "busybox@busybox.net"
305 fileinto "misc projects/busybox";
309 # buildroot (after uClibc)
311 header :contains "List-Id" "<buildroot.busybox.net>",
312 header :contains "To" "buildroot@buildroot.org",
313 header :contains "Cc" "buildroot@buildroot.org"
316 fileinto "misc projects/buildroot";
325 header :contains "List-Id" "<gdb-patches.sourceware.org>",
326 header :contains "List-Id" "<gdb.sourceware.org>",
327 header :contains "To" "gdb@sourceware.org",
328 header :contains "Cc" "gdb@sourceware.org",
329 header :contains "To" "gdb-patches@sourceware.org",
330 header :contains "Cc" "gdb-patches@sourceware.org"
333 fileinto "misc projects/toolchain";
335 if anyof(body :text :contains "sim/")
344 header :contains "List-Id" "<bug-binutils.gnu.org>",
345 header :contains "List-Post" "<mailto:binutils@sourceware.org>",
347 header :contains "List-Id" "<ccache.lists.samba.org>",
349 header :contains "List-Id" "<elfutils-devel.lists.fedorahosted.org>",
350 header :contains "To" "elfutils-devel@lists.fedorahosted.org",
351 header :contains "Cc" "elfutils-devel@lists.fedorahosted.org",
353 header :contains "List-Post" "<mailto:gcc-patches@gcc.gnu.org>",
355 header :regex "List-Post" "<mailto:libc-(alpha|help|locales|ports|stable)@sourceware\.org>",
356 header :regex "To" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
357 header :regex "Cc" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
359 header :contains "List-Id" "<config-patches.gnu.org>",
361 header :contains "List-Post" "<mailto:newlib@sourceware.org>",
363 header :contains "List-Post" "<mailto:qemu-devel@nongnu.org>",
364 header :contains "To" "qemu-devel@nongnu.org",
365 header :contains "Cc" "qemu-devel@nongnu.org",
367 header :contains "List-Post" "<mailto:cgen@sourceware.org>",
368 header :contains "List-Post" "<mailto:crossgcc@sourceware.org>",
369 header :contains "From" "sourceware-bugzilla@sourceware.org",
371 header :contains "To" "libunwind-devel@nongnu.org",
372 header :contains "Cc" "libunwind-devel@nongnu.org"
375 fileinto "misc projects/toolchain";
382 header :contains "List-Id" "<enlightenment-cvs.lists.sourceforge.net>",
383 header :contains "List-Id" "<enlightenment-devel.lists.sourceforge.net>",
384 header :contains "List-Id" "<evidence-cvs.lists.sourceforge.net>"
387 fileinto "misc projects/e";
394 header :contains "List-Id" "<u-boot-users.lists.sourceforge.net>",
395 header :contains "List-Id" "<u-boot.lists.denx.de>",
396 header :contains "To" "u-boot@lists.denx.de",
397 header :contains "Cc" "u-boot@lists.denx.de"
400 fileinto "misc projects/u-boot";
410 header :contains "List-Id" "<linux-alpha.vger.kernel.org>",
412 header :contains "List-Id" "<boot-architecture.lists.linaro.org>",
413 header :contains "List-Id" "<cross-distro.lists.linaro.org>",
414 header :contains "List-Id" "<armedslack.lists.armedslack.org>",
415 header :contains "List-Id" "<iyonix-support.freelists.org>",
417 header :contains "List-Id" "<uclinux-dist-devel.blackfin.uclinux.org>",
419 header :contains "X-Mailing-List" "linux-s390@vger.kernel.org",
420 header :contains "List-Id" "<hercules-390.yahoogroups.com>",
421 header :contains "To" "linux-390@vm.marist.edu",
422 header :contains "Cc" "linux-390@vm.marist.edu",
424 header :contains "List-Id" "linux-mac68k.lists.purplehat.net",
426 header :contains "List-Id" "<parisc-linux.lists.parisc-linux.org>",
427 header :contains "List-Id" "<linux-parisc.vger.kernel.org>",
429 header :contains "List-Id" "<linuxsh-dev.lists.sourceforge.net>",
430 header :contains "List-Id" "<linuxsh-cvs.lists.sourceforge.net>",
431 header :contains "List-Id" "<linuxdc-dev.lists.sourceforge.net>",
432 header :contains "List-Id" "<linux-sh.vger.kernel.org>"
435 fileinto "misc projects/archs";
446 header :contains "To" "graphics@gentoo.org",
447 header :contains "Cc" "graphics@gentoo.org"
450 fileinto "gentoo.org/bugs/graphics";
456 header :contains "To" "openrc@gentoo.org",
457 header :contains "Cc" "openrc@gentoo.org"
460 fileinto "gentoo.org/bugs/base-system/openrc";
464 # Gentoo: base-system
466 header :contains "To" "base-system@gentoo.org",
467 header :contains "Cc" "base-system@gentoo.org"
470 fileinto "gentoo.org/bugs/base-system";
476 header :regex "To" "(dev|tools)-portage@gentoo\\.org",
477 header :regex "Cc" "(dev|tools)-portage@gentoo\\.org",
478 header :contains "List-Id" "<gentoo-portage-dev.gentoo.org>"
481 fileinto "gentoo.org/bugs/portage";
485 # Gentoo: portage utils
487 header :contains "To" "portage-utils@gentoo.org",
488 header :contains "Cc" "portage-utils@gentoo.org"
491 fileinto "gentoo.org/bugs/portage-utils";
497 header :contains "To" "docs-team@gentoo.org",
498 header :contains "Cc" "docs-team@gentoo.org",
499 header :contains "To" "gentoo-doc@lists.gentoo.org",
500 header :contains "Cc" "gentoo-doc@lists.gentoo.org"
503 fileinto "gentoo.org/docs";
507 if allof (header :contains "From" "bugzilla-daemon@gentoo.org")
511 # Gentoo: toolchain/gcc-porting
512 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
514 fileinto "gentoo.org/bugs/toolchain";
519 elsif allof (header :contains "To" "games@gentoo.org")
521 fileinto "gentoo.org/bugs/games";
525 # Gentoo: security bugzilla
526 elsif allof (header :contains "To" "security@gentoo.org")
528 fileinto "gentoo.org/bugs/hardened";
532 # Gentoo: bugzilla me
533 elsif allof (header :contains "To" "vapier@gentoo.org")
535 fileinto "gentoo.org/bugs/mine";
540 elsif allof (header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org")
543 if anyof(header :regex "X-Bugzilla-Keywords" "((KEYWORD|STABLE)REQ|TESTFAILURE)")
546 fileinto "gentoo.org/bugs/arches/noise";
551 elsif anyof (header :regex "X-Bugzilla-Assigned-To" "(toolchain|security|base-system|games|sandbox)@gentoo.org")
559 fileinto "gentoo.org/bugs";
565 header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org",
566 header :regex "Cc" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org"
569 fileinto "gentoo.org/bugs/arches";
575 header :contains "List-Id" "<gentoo-embedded.gentoo.org>",
576 header :contains "To" "dev-embedded@gentoo.org",
577 header :contains "Cc" "dev-embedded@gentoo.org",
578 header :contains "To" "gentoo-mips@lists.gentoo.org",
579 header :contains "Cc" "gentoo-mips@lists.gentoo.org"
582 fileinto "gentoo.org/embedded";
587 if anyof (header :contains "List-Id" "<gentoo-commits.gentoo.org>")
589 fileinto "gentoo.org/commits";
595 header :contains "List-Id" "<gentoo-project.gentoo.org>",
596 header :contains "List-Id" "<gentoo-soc.gentoo.org>",
597 header :contains "List-Id" "<gentoo-scm.gentoo.org>",
598 header :contains "To" "soc-mentors@gentoo.org",
599 header :contains "Cc" "soc-mentors@gentoo.org",
601 header :contains "List-Id" "<gentoo-dev.gentoo.org>",
602 header :contains "List-Id" "<gentoo-dev-announce.gentoo.org>",
603 header :contains "List-Id" "<gentoo-devhelp.gentoo.org>",
604 header :contains "From" "no-reply@socghop.appspotmail.com",
606 header :contains "List-Id" "<gentoo-licenses.gentoo.org>",
608 header :contains "List-Id" "<gentoo-qa.gentoo.org>"
611 fileinto "gentoo.org/dev";
616 if anyof (header :contains "List-ID" "<gentoo.gentoo.github.com>")
618 fileinto "gentoo.org/github";
623 if anyof (header :contains "List-Id" "<gentoo-nfp.gentoo.org>")
625 fileinto "gentoo.org/nfp";
630 if anyof (header :contains "List-Id" "<gentoo-core.gentoo.org>")
632 fileinto "gentoo.org/core";
636 # Gentoo: toolchain [not bugs]
637 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
639 fileinto "gentoo.org/bugs/toolchain/list";
644 if anyof (header :contains "List-Id" "<gentoo-catalyst.gentoo.org>")
646 fileinto "gentoo.org";
652 header :contains "To" "security@gentoo.org",
653 header :contains "Cc" "security@gentoo.org",
654 header :contains "To" "gentoo-hardened@lists.gentoo.org",
655 header :contains "Cc" "gentoo-hardened@lists.gentoo.org",
656 header :contains "To" "gentoo-security@lists.gentoo.org",
657 header :contains "Cc" "gentoo-security@lists.gentoo.org"
660 fileinto "gentoo.org/hardened";
666 header :contains "To" "vapier@gentoo.org",
667 header :contains "Cc" "vapier@gentoo.org",
668 header :contains "From" "vapier@gentoo.org",
670 header :contains "To" "gentoo-dev-announce+moderators@lists.gentoo.org",
671 header :contains "Cc" "gentoo-dev-announce+moderators@lists.gentoo.org"
674 fileinto "gentoo.org";