X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Ffsf.sieve;h=a66152394005a473f2c0f407a08a7ed4eefb3179;hb=a83e91030893a823da5f057d6b848dbac7593f01;hp=9c631afc9d3a62ec2355749471b6fa45deff1b9c;hpb=9a067ce7270718043c0a725aa8c97ea75afdf96c;p=distro-setup diff --git a/subdir_files/sieve/fsf.sieve b/subdir_files/sieve/fsf.sieve index 9c631af..a661523 100644 --- a/subdir_files/sieve/fsf.sieve +++ b/subdir_files/sieve/fsf.sieve @@ -1,5 +1,10 @@ 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 "to" "sysadmin-nonrt@gnu.org", @@ -9,13 +14,14 @@ if anyof ( stop; } elsif anyof ( - header :contains "list-id" "", header :is "Return-path" "" ) { fileinto :create "rtcc"; stop; } + + if anyof ( header :regex "subject" "mailing list memberships reminder", address :is "to" "rtbounces@gnu.org",