X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=4120c288d295ee7f9462f64a4a37340af6e12a6c;hb=6bbcbe2aa87716ec9f82fe26cbb30d9173c83e0c;hp=6dbafa276c5d267f383c98d98175dcfe754aafa9;hpb=0c4ac4609fac9710f34ee75feacad69b00aef664;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 6dbafa2..4120c28 100644 --- a/subdir_files/sieve/lists.sieve +++ b/subdir_files/sieve/lists.sieve @@ -7,6 +7,19 @@ if anyof ( fileinto :create "sec"; stop; } +if anyof ( + header :regex "list-id" "forum.members.fsf.org>" + ) { + fileinto :create "fsfmembers"; + stop; + } + +if anyof ( + header :contains "list-id" "" + ) { + fileinto :create "l/outreachy-mentors"; + stop; + } if anyof ( header :contains "list-id" "", @@ -28,6 +41,8 @@ if anyof ( header :contains "list-id" "", header :contains "list-id" "", header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", header :contains "list-id" "", header :contains "list-id" "", header :contains "list-id" "", @@ -50,12 +65,18 @@ if anyof ( header :contains "list-id" "", header :contains "list-id" "", header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", header :contains "list-id" "") { if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/${listname}"; - } -} + stop; + } + } if anyof ( header :contains "list-id" "", header :contains "list-id" "", @@ -63,14 +84,22 @@ if anyof ( if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/fedora.${listname}"; - } -} + stop; + } + } if anyof ( header :contains "list-id" "", header :contains "list-id" "", header :contains "list-id" "", - header :contains "list-id" "" + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", + header :contains "from" "", + header :contains "list-id" "" ) { fileinto :create "community"; stop;