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>*" {
8 fileinto :create "Listes+${3}+${2}";
11 elsif header :matches "From" "*<*@*.*>*" {
12 fileinto :create "Listes+${3}+${2}";
16 elsif exists "List-Id" {
17 if header :matches "List-Id" "*<*.*.*.*>*" {
18 fileinto :create "Listes+${4}+${3}+${2}";
21 elsif header :matches "List-Id" "*<*.*.*>*" {
22 fileinto :create "Listes+${3}+${2}";