commit 4ef5adfb4dd37864f044eb7a4ab135e3c923aa58
parent d8a4a0c2769a6c8cdef15400256042841ef11ad5
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 28 Dec 2023 16:21:05 +0100
parent d8a4a0c2769a6c8cdef15400256042841ef11ad5
Author: Leah (ctucx) <git@ctu.cx>
Date: Thu, 28 Dec 2023 16:21:05 +0100
machines/trabbi/mail/rules-leah: update sieve script
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/machines/trabbi/mail/rules-leah.sieve b/machines/trabbi/mail/rules-leah.sieve @@ -23,10 +23,12 @@ if header :contains "From" [ "ikea@hej.news.email.ikea.de", "newsletter@crazyhorsecraft.com", "inside@cowboy.com", + "hello@cowboy.com", "News@InsideApple.Apple.com", "no-reply@newsletter.ab-in-die-box.de", "info@join.netflix.com", - "marketing.support@porkbun.com" + "marketing.support@porkbun.com", + "update@email.flixbus.com" ] { fileinto :create "INBOX.Newsletters"; stop; @@ -37,7 +39,7 @@ if header :contains "subject" [ "Fahrgastrechteanträge", "Fahrgastrechteantrag" stop; } -if header :contains "From" [ "@amazon.de" ] { +if header :contains "From" [ "@amazon.de", "@audible.de" ] { fileinto :create "INBOX.Amazon"; stop; } @@ -47,16 +49,30 @@ if header :contains "From" [ "@apple.com", "@email.apple.com", "@id.apple.com" ] stop; } -if header :contains "From" [ "@bahn.de", "@mailing.bahn.de", "@mail.bahncard.bahn.de" ] { +if header :contains "From" [ "@bahn.de", "@mailing.bahn.de", "@mail.bahncard.bahn.de", "@deutschebahn.com" ] { fileinto :create "INBOX.Bahn"; stop; } -if header :contains "From" [ "@bunq.com", "@hello.bunq.com" ] { - fileinto :create "INBOX.Bunq"; +if header :contains "From" [ + "@bunq.com", "@hello.bunq.com", "@update.bunq.com", + "@gls.de", + "@paypal.de", "@paypal.com", "@emails.paypal.com" +] { + fileinto :create "INBOX.Banking"; + stop; +} + +if header :contains "From" [ + "@hetzner.com", + "@netcup.de", + "@ovh.de" +] { + fileinto :create "INBOX.Hosting"; stop; } + if header :contains "From" [ "@dhl.de", "@dhl.com" ] { fileinto :create "INBOX.DHL"; stop; @@ -77,7 +93,7 @@ if header :contains "From" [ "@google.com", "@accounts.google.com" ] { stop; } -if header :contains "From" [ "@paypal.de", "@paypal.com", "@emails.paypal.com" ] { - fileinto :create "INBOX.PayPal"; +if header :contains "From" [ "@mein-grundeinkommen.de" ] { + fileinto :create "INBOX.MeinGrundeinkommen"; stop; }