X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Flists.sieve;h=ca6984cd9070ea174134b854c5ed0a63be17804c;hb=6f1f8a104c9b38936ade2d27e835479523985133;hp=4e17c09b4556638b2c38d8aae94506d05d21eae0;hpb=c37a4a61ba9d5d09ea52c9e0996897666ec5eb89;p=distro-setup diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 4e17c09..ca6984c 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" "" @@ -22,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" "", @@ -35,6 +42,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" "", @@ -59,11 +68,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" "", header :contains "list-id" "") { if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/${listname}"; + stop; } } if anyof ( @@ -73,6 +86,7 @@ if anyof ( if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/fedora.${listname}"; + stop; } } @@ -80,6 +94,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" "",