1 require [ "date", "fileinto", "mailbox", "variables" ];
3 #if currentdate :matches "year" "*" { set "year" "${1}"; }
4 #if currentdate :matches "month" "*" { set "month" "${1}"; }
6 if exists "X-MC-User" {
7 if header :matches "From" "*<*@*.asso.fr>*" {
11 elsif header :matches "From" "*<*@*.*>*" {
15 fileinto :create "Listes+${domain}+${list}";
18 elsif exists "List-Id" {
19 if header :matches "List-Id" "*<*.*.*.*>*" {
23 elsif header :matches "List-Id" "*<*.*.*>*" {
27 fileinto :create "Listes+${domain}+${list}";