From f5bbba2e0e142d34c0e1e50fb729936eb57539ce Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 4 Jul 2023 20:15:19 -0400 Subject: [PATCH] mail list folder organization update --- subdir_files/sieve/lists.sieve | 12 ++++++++++-- subdir_files/sieve/liststest.sieve | 8 ++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/subdir_files/sieve/lists.sieve b/subdir_files/sieve/lists.sieve index 1860ac6..0b1b315 100644 --- a/subdir_files/sieve/lists.sieve +++ b/subdir_files/sieve/lists.sieve @@ -22,6 +22,13 @@ if anyof ( stop; } +if anyof ( + header :regex "list-id" "board-eval.fsf.org>" + ) { + fileinto :create "board-eval"; + stop; +} + if anyof ( header :contains "list-id" "" ) { @@ -82,6 +89,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" "", @@ -149,8 +157,8 @@ if anyof ( 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" "", diff --git a/subdir_files/sieve/liststest.sieve b/subdir_files/sieve/liststest.sieve index c44919b..0b1b315 100644 --- a/subdir_files/sieve/liststest.sieve +++ b/subdir_files/sieve/liststest.sieve @@ -22,6 +22,13 @@ if anyof ( stop; } +if anyof ( + header :regex "list-id" "board-eval.fsf.org>" + ) { + fileinto :create "board-eval"; + stop; +} + if anyof ( header :contains "list-id" "" ) { @@ -82,6 +89,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" "", -- 2.30.2