X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=4120c288d295ee7f9462f64a4a37340af6e12a6c;hb=1a9542b37443a84e55e175db8ddef4e99f434fb5;hp=4dd75a2ad1fb64692a04ac24cb325224390bd517;hpb=2d3ce30754a3f24d922635647bab4990b60f5c27;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 4dd75a2..4120c28 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,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" "", @@ -58,12 +66,17 @@ 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" "") { 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" "", @@ -71,8 +84,9 @@ 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" "", @@ -86,7 +100,6 @@ if anyof ( header :contains "list-id" "", header :contains "from" "", header :contains "list-id" "" - ) { fileinto :create "community"; stop;