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" "<mutt-dev.mutt.org>",
204 header :contains "List-Id" "<nano-devel.gnu.org>",
206 header :contains "List-Id" "<nasm-devel.lists.sourceforge.net>",
208 header :contains "List-Id" "<nbd-general.lists.sourceforge.net>",
210 header :contains "List-Id" "<bug-ncurses.gnu.org>",
212 header :contains "List-Id" "<net-tools-devel.lists.sourceforge.net>",
214 header :contains "List-Id" "<nfs.lists.sourceforge.net>",
215 header :contains "List-Id" "<linux-nfs.vger.kernel.org>",
217 header :contains "List-Id" "<ode.ode.org>",
218 header :contains "List-Id" "<ode.q12.org>",
220 header :contains "X-Loop" "austin-group-l@opengroup.org",
222 header :contains "List-Id" "<discuss.lesswatts.org>",
224 header :contains "List-Id" "<procps.freelists.org>",
226 header :contains "List-Id" "<bug-patch.gnu.org>",
228 header :contains "List-Id" "<bug-readline.gnu.org>",
230 header :contains "List-Id" "<reiserfs-devel.vger.kernel.org>",
232 header :contains "List-Id" "<rsync.lists.samba.org>",
234 header :contains "List-Id" "<sdl.libsdl.org>",
235 header :contains "List-Id" "<sdl-libsdl.org>",
237 header :contains "List-Id" "<shadow.pld.org.pl>",
238 header :contains "List-Id" "<pkg-shadow-devel.lists.alioth.debian.org>",
240 header :contains "List-Id" "<sigrok-devel.lists.sourceforge.net>",
242 header :contains "List-Id" "<speex-dev.xiph.org>",
244 header :contains "List-Id" "<sqlite-users.sqlite.org>",
246 header :contains "Sender" "owner-openssl-dev@openssl.org",
248 header :contains "List-Id" "<strace-devel.lists.sourceforge.net>",
249 header :contains "To" "strace-devel@lists.sourceforge.net",
250 header :contains "Cc" "strace-devel@lists.sourceforge.net",
252 header :contains "List-Id" "<sudo-workers.sudo.ws>",
254 header :contains "List-Id" "<syslinux.zytor.com>",
256 header :contains "List-Id" "<sysvinit-devel.nongnu.org>",
258 header :contains "List-Id" "<bug-tar.gnu.org>",
260 header :contains "List-Id" "<tz.iana.org>",
262 header :contains "List-Id" "<uclinux-dev.uclinux.org>",
264 header :contains "List-Id" "<linux-hotplug-devel.lists.sourceforge.net>",
266 header :contains "List-Id" "<urjtag-development.lists.sourceforge.net>",
268 header :contains "X-Mailing-List" "util-linux@vger.kernel.org",
270 header :contains "List-Id" "<bug-wget.gnu.org>",
272 header :contains "List-Id" "<yasm-devel.tortall.net>",
274 header :contains "List-Id" "<zlib-devel_madler.net.madler.net>",
275 header :contains "To" "zlib-devel@madler.net",
276 header :contains "Cc" "zlib-devel@madler.net"
279 fileinto "misc projects";
285 header :contains "List-Id" "<uclibc.uclibc.org>",
286 header :contains "List-Id" "<uclibc-cvs.uclibc.org>",
287 header :contains "List-Id" "<uclibc-admins.lists.busybox.net>",
288 header :contains "To" "uclibc@uclibc.org",
289 header :contains "Cc" "uclibc@uclibc.org",
290 header :contains "To" "uclibc-cvs@uclibc.org",
291 header :contains "Cc" "uclibc-cvs@uclibc.org"
294 fileinto "misc projects/uclibc";
298 # Project: busybox (after uClibc)
300 header :contains "List-Id" "<busybox.mail.busybox.net>",
301 header :contains "List-Id" "<busybox-cvs.busybox.net>",
302 header :contains "List-Id" "<busybox.busybox.net>",
303 header :contains "To" "busybox@busybox.net",
304 header :contains "Cc" "busybox@busybox.net"
307 fileinto "misc projects/busybox";
311 # buildroot (after uClibc)
313 header :contains "List-Id" "<buildroot.busybox.net>",
314 header :contains "To" "buildroot@buildroot.org",
315 header :contains "Cc" "buildroot@buildroot.org"
318 fileinto "misc projects/buildroot";
327 header :contains "List-Id" "<gdb-patches.sourceware.org>",
328 header :contains "List-Id" "<gdb.sourceware.org>",
329 header :contains "To" "gdb@sourceware.org",
330 header :contains "Cc" "gdb@sourceware.org",
331 header :contains "To" "gdb-patches@sourceware.org",
332 header :contains "Cc" "gdb-patches@sourceware.org"
335 fileinto "misc projects/toolchain";
337 if anyof(body :text :contains "sim/")
346 header :contains "List-Id" "<bug-binutils.gnu.org>",
347 header :contains "List-Post" "<mailto:binutils@sourceware.org>",
349 header :contains "List-Id" "<ccache.lists.samba.org>",
351 header :contains "List-Id" "<elfutils-devel.lists.fedorahosted.org>",
352 header :contains "To" "elfutils-devel@lists.fedorahosted.org",
353 header :contains "Cc" "elfutils-devel@lists.fedorahosted.org",
354 header :contains "List-Id" "<elfutils-devel.sourceware.org>",
356 header :contains "List-Post" "<mailto:gcc-patches@gcc.gnu.org>",
358 header :regex "List-Post" "<mailto:libc-(alpha|help|locales|ports|stable)@sourceware\.org>",
359 header :regex "To" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
360 header :regex "Cc" "libc-(alpha|help|locales|ports|stable)@sourceware\.org",
362 header :contains "List-Id" "<config-patches.gnu.org>",
364 header :contains "List-Post" "<mailto:newlib@sourceware.org>",
366 header :contains "List-Post" "<mailto:qemu-devel@nongnu.org>",
367 header :contains "To" "qemu-devel@nongnu.org",
368 header :contains "Cc" "qemu-devel@nongnu.org",
370 header :contains "List-Post" "<mailto:cgen@sourceware.org>",
371 header :contains "List-Post" "<mailto:crossgcc@sourceware.org>",
372 header :contains "From" "sourceware-bugzilla@sourceware.org",
374 header :contains "To" "libunwind-devel@nongnu.org",
375 header :contains "Cc" "libunwind-devel@nongnu.org"
378 fileinto "misc projects/toolchain";
385 header :contains "List-Id" "<enlightenment-cvs.lists.sourceforge.net>",
386 header :contains "List-Id" "<enlightenment-devel.lists.sourceforge.net>",
387 header :contains "List-Id" "<evidence-cvs.lists.sourceforge.net>"
390 fileinto "misc projects/e";
397 header :contains "List-Id" "<u-boot-users.lists.sourceforge.net>",
398 header :contains "List-Id" "<u-boot.lists.denx.de>",
399 header :contains "To" "u-boot@lists.denx.de",
400 header :contains "Cc" "u-boot@lists.denx.de"
403 fileinto "misc projects/u-boot";
413 header :contains "List-Id" "<linux-alpha.vger.kernel.org>",
415 header :contains "List-Id" "<boot-architecture.lists.linaro.org>",
416 header :contains "List-Id" "<cross-distro.lists.linaro.org>",
417 header :contains "List-Id" "<armedslack.lists.armedslack.org>",
418 header :contains "List-Id" "<iyonix-support.freelists.org>",
420 header :contains "List-Id" "<uclinux-dist-devel.blackfin.uclinux.org>",
422 header :contains "X-Mailing-List" "linux-s390@vger.kernel.org",
423 header :contains "List-Id" "<hercules-390.yahoogroups.com>",
424 header :contains "To" "linux-390@vm.marist.edu",
425 header :contains "Cc" "linux-390@vm.marist.edu",
427 header :contains "List-Id" "linux-mac68k.lists.purplehat.net",
429 header :contains "List-Id" "<parisc-linux.lists.parisc-linux.org>",
430 header :contains "List-Id" "<linux-parisc.vger.kernel.org>",
432 header :contains "List-Id" "<linuxsh-dev.lists.sourceforge.net>",
433 header :contains "List-Id" "<linuxsh-cvs.lists.sourceforge.net>",
434 header :contains "List-Id" "<linuxdc-dev.lists.sourceforge.net>",
435 header :contains "List-Id" "<linux-sh.vger.kernel.org>"
438 fileinto "misc projects/archs";
449 header :contains "To" "graphics@gentoo.org",
450 header :contains "Cc" "graphics@gentoo.org"
453 fileinto "gentoo.org/bugs/graphics";
459 header :contains "To" "openrc@gentoo.org",
460 header :contains "Cc" "openrc@gentoo.org"
463 fileinto "gentoo.org/bugs/base-system/openrc";
467 # Gentoo: base-system
469 header :contains "To" "base-system@gentoo.org",
470 header :contains "Cc" "base-system@gentoo.org"
473 fileinto "gentoo.org/bugs/base-system";
479 header :regex "To" "(dev|tools)-portage@gentoo\\.org",
480 header :regex "Cc" "(dev|tools)-portage@gentoo\\.org",
481 header :contains "List-Id" "<gentoo-portage-dev.gentoo.org>"
484 fileinto "gentoo.org/bugs/portage";
488 # Gentoo: portage utils
490 header :contains "To" "portage-utils@gentoo.org",
491 header :contains "Cc" "portage-utils@gentoo.org"
494 fileinto "gentoo.org/bugs/portage-utils";
500 header :contains "To" "docs-team@gentoo.org",
501 header :contains "Cc" "docs-team@gentoo.org",
502 header :contains "To" "gentoo-doc@lists.gentoo.org",
503 header :contains "Cc" "gentoo-doc@lists.gentoo.org"
506 fileinto "gentoo.org/docs";
510 if allof (header :contains "From" "bugzilla-daemon@gentoo.org")
514 # Gentoo: toolchain/gcc-porting
515 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
517 fileinto "gentoo.org/bugs/toolchain";
522 elsif allof (header :contains "To" "games@gentoo.org")
524 fileinto "gentoo.org/bugs/games";
528 # Gentoo: security bugzilla
529 elsif allof (header :contains "To" "security@gentoo.org")
531 fileinto "gentoo.org/bugs/hardened";
535 # Gentoo: bugzilla me
536 elsif allof (header :contains "To" "vapier@gentoo.org")
538 fileinto "gentoo.org/bugs/mine";
543 elsif allof (header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org")
546 if anyof(header :regex "X-Bugzilla-Keywords" "((KEYWORD|STABLE)REQ|TESTFAILURE)")
549 fileinto "gentoo.org/bugs/arches/noise";
554 elsif anyof (header :regex "X-Bugzilla-Assigned-To" "(toolchain|security|base-system|games|sandbox)@gentoo.org")
562 fileinto "gentoo.org/bugs";
568 header :regex "To" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org",
569 header :regex "Cc" "(alpha|amd64|arm|arm64|ia64|hppa|m68k|mips|ppc|ppc64|s390|sh|sparc|x86)@gentoo.org"
572 fileinto "gentoo.org/bugs/arches";
578 header :contains "List-Id" "<gentoo-embedded.gentoo.org>",
579 header :contains "To" "dev-embedded@gentoo.org",
580 header :contains "Cc" "dev-embedded@gentoo.org",
581 header :contains "To" "gentoo-mips@lists.gentoo.org",
582 header :contains "Cc" "gentoo-mips@lists.gentoo.org"
585 fileinto "gentoo.org/embedded";
590 if anyof (header :contains "List-Id" "<gentoo-commits.gentoo.org>")
592 fileinto "gentoo.org/commits";
598 header :contains "List-Id" "<gentoo-project.gentoo.org>",
599 header :contains "List-Id" "<gentoo-soc.gentoo.org>",
600 header :contains "List-Id" "<gentoo-scm.gentoo.org>",
601 header :contains "To" "soc-mentors@gentoo.org",
602 header :contains "Cc" "soc-mentors@gentoo.org",
604 header :contains "List-Id" "<gentoo-dev.gentoo.org>",
605 header :contains "List-Id" "<gentoo-dev-announce.gentoo.org>",
606 header :contains "List-Id" "<gentoo-devhelp.gentoo.org>",
607 header :contains "From" "no-reply@socghop.appspotmail.com",
609 header :contains "List-Id" "<gentoo-nfp.gentoo.org>",
611 header :contains "List-Id" "<gentoo-licenses.gentoo.org>",
613 header :contains "List-Id" "<gentoo-qa.gentoo.org>"
616 fileinto "gentoo.org/dev";
621 if anyof (header :contains "List-ID" "<gentoo.gentoo.github.com>")
623 fileinto "gentoo.org/github";
628 if anyof (header :contains "List-Id" "<gentoo-core.gentoo.org>")
630 fileinto "gentoo.org/core";
634 # Gentoo: toolchain [not bugs]
635 if allof (header :regex "To" "(toolchain|gcc-porting)@gentoo\\.org")
637 fileinto "gentoo.org/bugs/toolchain/list";
642 if anyof (header :contains "List-Id" "<gentoo-catalyst.gentoo.org>")
644 fileinto "gentoo.org";
650 header :contains "To" "security@gentoo.org",
651 header :contains "Cc" "security@gentoo.org",
652 header :contains "To" "gentoo-hardened@lists.gentoo.org",
653 header :contains "Cc" "gentoo-hardened@lists.gentoo.org",
654 header :contains "To" "gentoo-security@lists.gentoo.org",
655 header :contains "Cc" "gentoo-security@lists.gentoo.org"
658 fileinto "gentoo.org/hardened";
664 header :contains "To" "vapier@gentoo.org",
665 header :contains "Cc" "vapier@gentoo.org",
666 header :contains "From" "vapier@gentoo.org",
668 header :contains "To" "gentoo-dev-announce+moderators@lists.gentoo.org",
669 header :contains "Cc" "gentoo-dev-announce+moderators@lists.gentoo.org"
672 fileinto "gentoo.org";