require ["fileinto"]; # rule:[Nyhetsbrev] if exists "List-Id" { fileinto "Nyhetsbrev"; stop; } # rule:[Fakturor] if header :contains "subject" "faktura" { fileinto "Fakturor"; stop; } # rule:[Kund Ali] if header :contains "from" "ali@example.net" { fileinto "Kunder.Ali"; stop; } # rule:[Team] if false # header :contains "from" "erik@example.com" { fileinto "INBOX.Team"; }