require ["fileinto","envelope","regex","reject","subaddress"]; if envelope :detail "to" "backups" { fileinto "Backups"; } elsif envelope :matches "From" ["*@zom.bi","*@badpractice.at"] { fileinto "Zombi"; } elsif envelope :is "From" "alert@uptimerobot.com" { fileinto "UptimeRobot"; } elsif envelope :regex "From" ".*@(mail\.)?paypal\.(de|com)" { fileinto "PayPal"; } elsif envelope :detail "to" ["ebay"] { fileinto "Ebay"; } elsif address :is "to" "l4-hackers@os.inf.tu-dresden.de" { fileinto "L4Hackers"; } elsif header :regex "Received" ".*cpworldindia.com" { discard; } elsif header :regex "Received" ".*tailoredresponse.com" { discard; } elsif header :regex "Received" ".*intelos.biz.ua" { discard; } elsif header :regex "Received" ".*tonirovany.biz.ua" { discard; } elsif envelope :regex "From" ".*@forumis.org" { discard; } elsif envelope :regex "From" ".*@consultant.com" { discard; } elsif envelope :regex "To" "mds@xue.bi" { discard; } elsif envelope :regex "From" ".*@slack.com" { discard; } elsif envelope :regex "From" ".*@ovagames.com" { discard; }