X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=dd5bb1afdc4fcb8b071d9fdb989e7d0320d603ee;hb=ae54f4cd08815de501151c10083e74294609558a;hp=4dd75a2ad1fb64692a04ac24cb325224390bd517;hpb=2d3ce30754a3f24d922635647bab4990b60f5c27;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 4dd75a2..dd5bb1a 100644 --- a/subdir_files/sieve/lists.sieve +++ b/subdir_files/sieve/lists.sieve @@ -7,6 +7,12 @@ 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" "" @@ -35,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" "", @@ -58,12 +65,15 @@ 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" "") { 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" "", @@ -71,8 +81,8 @@ 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" "", @@ -86,7 +96,6 @@ if anyof ( header :contains "list-id" "", header :contains "from" "", header :contains "list-id" "" - ) { fileinto :create "community"; stop;