1 require [ "date", "fileinto", "mailbox", "variables" ];
3 if currentdate :matches "year" "*" { set "year" "${1}"; }
4 if currentdate :matches "month" "*" { set "month" "${1}"; }
7 if header :matches "List-ID" "*<*.*.*.*>*" {
11 elsif header :matches "List-ID" "*<*.*.*>*" {
15 fileinto :create "Listes+${domain}+${list}+${year}+${month}";