X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Ffsf.sieve;h=ac31d259b60844e6cef47ae271194b3c36180eea;hb=1a9542b37443a84e55e175db8ddef4e99f434fb5;hp=9c631afc9d3a62ec2355749471b6fa45deff1b9c;hpb=eb9b839bb5a91c60cc4f6eb9d7e38ffbf73f0e90;p=distro-setup diff --git a/subdir_files/sieve/fsf.sieve b/subdir_files/sieve/fsf.sieve index 9c631af..ac31d25 100644 --- a/subdir_files/sieve/fsf.sieve +++ b/subdir_files/sieve/fsf.sieve @@ -1,7 +1,13 @@ require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "include" ]; +if anyof (header :contains "list-id" "") { + discard; + stop; + } + if anyof ( address :is "from" "sysadmin@gnu.org", + address :is "from" "sysadmin-nonrt@gnu.org", address :is "to" "sysadmin-nonrt@gnu.org", address :is "from" "sysadmin-comment@gnu.org" ) { @@ -9,13 +15,23 @@ if anyof ( stop; } elsif anyof ( - header :contains "list-id" "", header :is "Return-path" "" ) { fileinto :create "rtcc"; stop; } +if anyof ( + address :is "to" "dmarc-rua@fsf.org" + ) { + fileinto :create "dmarc"; + stop; + } + + + + + if anyof ( header :regex "subject" "mailing list memberships reminder", address :is "to" "rtbounces@gnu.org",