From ac6915679255b4a375c8304facbb65a7b99f1788 Mon Sep 17 00:00:00 2001 From: madmaurice Date: Wed, 19 Aug 2020 20:34:52 +0200 Subject: [PATCH] My sieve script --- sieve.txt | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sieve.txt diff --git a/sieve.txt b/sieve.txt new file mode 100644 index 0000000..b50f8af --- /dev/null +++ b/sieve.txt @@ -0,0 +1,47 @@ +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; +} \ No newline at end of file