X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Fliststest.sieve;h=c69155cea36235487e489b61076110cb1cb0495c;hb=77917a8fbf2032a8b2634a1b3de0879ec45cf213;hp=4fa00162a1d8e9a61f325a97746bc97e23b235f8;hpb=7e4f3d0a6130b69b7f76a3ff13e510ffbeb1484b;p=distro-setup diff --git a/subdir_files/sieve/liststest.sieve b/subdir_files/sieve/liststest.sieve index 4fa0016..c69155c 100644 --- a/subdir_files/sieve/liststest.sieve +++ b/subdir_files/sieve/liststest.sieve @@ -71,6 +71,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" "") { if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { @@ -90,6 +91,16 @@ if anyof ( } } + + +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" "", @@ -100,15 +111,20 @@ 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 "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"