dovecot: remove month folder in list.sieve
authorJulien Moutinho <julm@sourcephile.fr>
Wed, 4 Mar 2020 23:45:54 +0000 (00:45 +0100)
committerJulien Moutinho <julm@sourcephile.fr>
Wed, 4 Mar 2020 23:45:54 +0000 (00:45 +0100)
servers/mermet/dovecot/sieve/global/list.sieve

index 529b61cf1142880ac9beecf330eb11b1eacd9fc8..3cc7a51b7486c8a79c859f212be2babab3822a07 100644 (file)
@@ -1,7 +1,7 @@
 require [ "date", "fileinto", "mailbox", "variables" ];
 
 if currentdate :matches "year"  "*" { set "year"  "${1}"; }
-if currentdate :matches "month" "*" { set "month" "${1}"; }
+#if currentdate :matches "month" "*" { set "month" "${1}"; }
 
 if exists "List-ID" {
   if header :matches "List-ID" "*<*.*.*.*>*" {
@@ -12,6 +12,6 @@ if exists "List-ID" {
     set "list"   "${2}";
     set "domain" "${3}";
   }
-  fileinto :create "Listes+${domain}+${list}+${year}+${month}";
+  fileinto :create "Listes+${domain}+${list}+${year}";
   stop;
 }