minor fix
[distro-setup] / subdir_files / sieve / fsf.sieve
1 require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "include" ];
2
3 if anyof (header :contains "list-id" "<office-commits.gnu.org>") {
4 discard;
5 stop;
6 }
7
8 if anyof (
9 address :is "from" "sysadmin@gnu.org",
10 address :is "from" "sysadmin-nonrt@gnu.org",
11 address :is "to" "sysadmin-nonrt@gnu.org",
12 address :is "from" "sysadmin-comment@gnu.org"
13 ) {
14 fileinto :create "sysadmin";
15 stop;
16 }
17 elsif anyof (
18 header :is "Return-path" "<rtbounces@gnu.org>"
19 ) {
20 fileinto :create "rtcc";
21 stop;
22 }
23
24 if anyof (
25 address :is "to" "dmarc-rua@fsf.org"
26 ) {
27 fileinto :create "dmarc";
28 stop;
29 }
30
31
32
33
34
35 if anyof (
36 header :regex "subject" "mailing list memberships reminder",
37 address :is "to" "rtbounces@gnu.org",
38 address :is "to" "faxmaster@fsf.org",
39 address :is "from" "FaxMaster@fsf.org"
40 ) {
41 fileinto :create "log";
42 stop;
43 }
44
45 include :personal "lists";