require ["fileinto"]; # rule:[Boletines] if exists "List-Id" { fileinto "Boletines"; stop; } # rule:[Facturas] if header :contains "subject" "factura" { fileinto "Facturas"; stop; } # rule:[Cliente Mohamed] if header :contains "from" "mohamed@example.net" { fileinto "Clientes.Mohamed"; stop; } # rule:[Equipo] if false # header :contains "from" "pablo@example.com" { fileinto "INBOX.Equipo"; }