Okay I found a possible solution.
I’ve downloaded a lot of emails of spam and fed them to my clause fable subscription. I’ve asked it to make a custom script to filter out my stuff. Here is the anonimized versionf f what i got (below, the anoniminized version of my script)
require [“fileinto”, “mailbox”];
=====================================================================
Sieve spam filter against the Odido-leak spam (NL, 2026)
Works with any mail provider that supports Sieve filters
(e.g. Murena, Fastmail, mailbox.org, Posteo, Proton).
Everything suspect goes to the folder “Spam-Filter”; nothing is deleted.
Check that folder once a week. Real mail you find there → add the
sender’s domain to the ALLOWLIST in step 1.
If your provider rejects “:create” or “mailbox”: create the folder
“Spam-Filter” yourself, remove “:create” everywhere and remove
“mailbox” from the require line.
=====================================================================
---------- 1. ALLOWLIST: always deliver to the inbox ----------
Add your bank, employer, webshops, family etc. here.
if address :domain :matches “from” [
# — Real domains of brands the spammers impersonate (keep these) —
“zilverenkruis.nl”, “.zilverenkruis.nl",
“anwb.nl”, ".anwb.nl”,
“odido.nl”, “*.odido.nl”,
# --- ADD YOUR OWN: employer, bank, webshops, family, newsletters ---
# Use "domain.nl" and "*.domain.nl" to include subdomains.
"example-employer.nl", "*.example-employer.nl",
"example-bank.nl", "*.example-bank.nl"
] {
stop;
}
---------- 2. Already marked as spam by your provider’s spam filter ----------
Header name used by Rspamd/SpamAssassin (Murena, many others).
Harmless if your provider uses a different header.
if header :matches “X-Spam-Status” “Yes*” {
fileinto :create “Spam-Filter”;
stop;
}
---------- 3. Hacked school / university / government mailboxes abroad ----------
The bulk of the Odido spam comes from compromised student accounts.
if address :domain :matches “from” [
“.edu.”, “.ac.”, “.gov.”, “.sch.”,
“belajar.id", ".edu”, “.br", ".id”, “.ph", ".pe”, “.mx",
".co”, “.th", ".pk”, “.ec", ".cl”, “.ar", ".lk”, “.ma",
".in”, “.sv", ".ps”, “.ge", ".hk”, “.kr", ".cat”,
“unisalento.it", ".or.jp”
] {
fileinto :create “Spam-Filter”;
stop;
}
---------- 4. Brand impersonation: a famous name with the wrong domain ----------
(the real anwb.nl / zilverenkruis.nl etc. were already let through in step 1)
if anyof (
header :contains “from” [“ANWB”, “Wegenwacht”, “Pechhulp”],
header :contains “from” [“Zilveren Kruis”, “Zorgverzekering”],
header :contains “from” [“CJIB”, “Justitieel”, “Belastingdienst”, “DigiD”],
header :matches “from” [“UPS *”, “"UPS *”, “DPD *”, “"DPD *”, “USPS *”, “"USPS *”],
header :contains “from” [“PostNL”, “DHL”, “Aramex”, “Pakketservice”, “Verzending”],
header :contains “from” [“Jumbo”, “Albert Heijn”, “Coolblue”, “Blokker”, “Efteling”],
header :contains “from” [“Energieloket”, “Energiecheck”, “Energieopslag”, “Subsidiewijzer”,
“Tarievenwijzer”, “Telecom”, “Klantenpanel”, “Woningcheck”,
“Wooncomfort”, “Isolatie”, “Zonne-energie”, “Duurzaam Wonen”,
“VerfZeker”, “Financieel Inzicht”, “Thuisbatterij”,
“Onderzoek”, “Klikvia”, “Besparing”, “Wintercheck”,
“Veiligheidsdienst”, “Club van Vandaag”, “Officieel”]
) {
fileinto :create “Spam-Filter”;
stop;
}
---------- 5. Typical subject lines of this campaign ----------
if header :contains “subject” [
“thuisbatterij”, “saldering”, “energietarie”, “energierekening”,
“energiecontract”, “energieadvies”, “energiekosten”, “besparing”,
“bespaar”, “subsidie”, “laadpaal”, “zonnepanel”, “isolatie”,
“autokoelbox”, “auto koeler”, “noodpakket”, “veiligheidspakket”,
“ehbo”, “medicare”, “zorgpakket”, “enquete”, “enquête”,
“maak kans”, “win een”, “claim je”, “claim uw”, “gratis”,
“leveringsupdate”, “uw pakket”, “uw zending”, “bezorgpoging”,
“douane”, “afleveradres”, “adreswijziging”, “delivery failed”,
“cjib”, “dossier nr”, “dossiernr”, “terugbetaling”,
“schilderwerk”, “kozijnen”, “houtrot”, “traprenovatie”,
“free spins”, “gratis spins”, “welkomstbonus”, “mystery box”,
“onderzoek”, “doe mee”, “vaste lasten”, “beveiligingswaarschuwing”,
“sweeps”, “aanbieding”, “snore”, “energiecheck”
] {
fileinto :create “Spam-Filter”;
stop;
}