lots of misc updates
[distro-setup] / fsf.sieve
1 require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "include" ];
2
3 if anyof (
4 address :is "from" "sysadmin@gnu.org",
5 address :is "to" "sysadmin-nonrt@gnu.org",
6 address :is "from" "sysadmin-comment@gnu.org"
7 ) {
8 fileinto :create "sysadmin";
9 stop;
10 }
11 elsif anyof (
12 header :contains "list-id" "<office-commits.gnu.org>",
13 header :is "Return-path" "<rtbounces@gnu.org>"
14 ) {
15 fileinto :create "rtcc";
16 stop;
17 }
18
19 if anyof (
20 header :contains "list-id" "<debian-security-announce.lists.debian.org>",
21 header :contains "list-id" "<ubuntu-security-announce.lists.ubuntu.com>"
22 ) {
23 fileinto :create "sec";
24 stop;
25 }
26
27 if anyof (
28 header :regex "subject" "mailing list memberships reminder",
29 address :is "to" "rtbounces@gnu.org",
30 address :is "to" "faxmaster@fsf.org",
31 address :is "from" "FaxMaster@fsf.org"
32 ) {
33 fileinto :create "log";
34 stop;
35 }
36 # Return-path: <rtbounces@gnu.org>
37
38 if allof (
39 address :is "from" "mailman-owner@zope.org",
40 header :is "subject" "zope.org mailing list memberships reminder"
41 ) {
42 discard;
43 stop;
44 }
45
46 if anyof (
47 header :contains "list-id" "<activists_masspirates.org.lists.mayfirst.org>"
48 ) {
49 fileinto :create "pirate-party";
50 stop;
51 }