require ["fileinto"]; # rule:[Nieuwsbrieven] if exists "List-Id" { fileinto "Nieuwsbrieven"; stop; } # rule:[Facturen] if header :contains "subject" "factuur" { fileinto "Facturen"; stop; } # rule:[Klant Ahmed] if header :contains "from" "ahmed@example.net" { fileinto "Klanten.Ahmed"; stop; } # rule:[Team] if false # header :contains "from" "daan@example.com" { fileinto "INBOX.Team"; }