minor fix
[distro-setup] / subdir_files / sieve / fsf-test.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 :regex "subject" "mailing list memberships reminder",
21 address :is "to" "rtbounces@gnu.org",
22 address :is "to" "faxmaster@fsf.org",
23 address :is "from" "FaxMaster@fsf.org"
24 ) {
25 fileinto :create "log";
26 stop;
27 }
28
29 include :personal "lists";