X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Fliststest.sieve;h=c69155cea36235487e489b61076110cb1cb0495c;hb=77917a8fbf2032a8b2634a1b3de0879ec45cf213;hp=d17fb1e044a1597171dd277b0fd0ab3be8399990;hpb=effc74a288ee7e4d0a83bbf3335ba10f95eb7b8a;p=distro-setup diff --git a/subdir_files/sieve/liststest.sieve b/subdir_files/sieve/liststest.sieve index d17fb1e..c69155c 100644 --- a/subdir_files/sieve/liststest.sieve +++ b/subdir_files/sieve/liststest.sieve @@ -28,6 +28,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" "", @@ -69,10 +70,14 @@ 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}"; + stop; } } if anyof ( @@ -82,26 +87,44 @@ 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" "<~sircmpwn/sr.ht-discuss.lists.sr.ht>" + ) { + fileinto :create "l/sr.ht-discuss"; + 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 "list-id" "", header :contains "list-id" "", + header :contains "list-id" "", + header :contains "list-id" "", header :contains "from" "", + header :contains "list-id" "", header :contains "list-id" "" ) { fileinto :create "community"; stop; } + if allof ( address :is "from" "mailman-owner@zope.org", header :is "subject" "zope.org mailing list memberships reminder"