X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=subdir_files%2Fsieve%2Fliststest.sieve;h=4120c288d295ee7f9462f64a4a37340af6e12a6c;hb=6bbcbe2aa87716ec9f82fe26cbb30d9173c83e0c;hp=d17fb1e044a1597171dd277b0fd0ab3be8399990;hpb=effc74a288ee7e4d0a83bbf3335ba10f95eb7b8a;p=distro-setup diff --git a/subdir_files/sieve/liststest.sieve b/subdir_files/sieve/liststest.sieve index d17fb1e..4120c28 100644 --- a/subdir_files/sieve/liststest.sieve +++ b/subdir_files/sieve/liststest.sieve @@ -69,10 +69,12 @@ if anyof ( 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,6 +84,7 @@ if anyof ( if header :regex "list-id" "<([a-z_0-9-]+)[.@]" { set :lower "listname" "${1}"; fileinto :create "l/fedora.${listname}"; + stop; } }