X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=00b9443cd68a22298e068838470e36e077671c39;hb=a1ebefe19ab910d20fad0c2fd88637fee23dee7c;hp=d17fb1e044a1597171dd277b0fd0ab3be8399990;hpb=effc74a288ee7e4d0a83bbf3335ba10f95eb7b8a;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index d17fb1e..00b9443 100644 --- a/subdir_files/sieve/lists.sieve +++ b/subdir_files/sieve/lists.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,13 @@ 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-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/${listname}"; + stop; } } if anyof ( @@ -82,19 +86,35 @@ 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" "" ) { @@ -102,6 +122,7 @@ if anyof ( stop; } + if allof ( address :is "from" "mailman-owner@zope.org", header :is "subject" "zope.org mailing list memberships reminder"