X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=dd5bb1afdc4fcb8b071d9fdb989e7d0320d603ee;hb=ae54f4cd08815de501151c10083e74294609558a;hp=8f2c673ca255fb2f348feaa2ffc2c314600bf59d;hpb=9a067ce7270718043c0a725aa8c97ea75afdf96c;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 8f2c673..dd5bb1a 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,7 @@ 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" "", @@ -41,19 +55,25 @@ 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 "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}"; - } -} + } + } if anyof ( header :contains "list-id" "", header :contains "list-id" "", @@ -61,14 +81,21 @@ if anyof ( if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/fedora.${listname}"; - } -} + } + } 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;