src

sauce
got clone ssh://anon@src.dalliard.ch/src
log | files | refs

commit 420ef54262398ae263935548c1345d7499df8866
parent 80b54f46c193e87d24da24a4e7d5a6c013b6c211
author: nathanael <nathanael@dalliard.ch>
date:   Wed, 15 Oct 2025 09:18:16 +0000

s1: remove sieve script file

move it to outside of vcs - no need to keep track

diffstat:
Ms1/scripts/sysfiles.sh | 2+-
Ds1/sysfiles/default.sieve | 178-------------------------------------------------------------------------------
2 files changed, 1 insertion(+), 179 deletions(-)

diff --git a/s1/scripts/sysfiles.sh b/s1/scripts/sysfiles.sh @@ -8,10 +8,10 @@ doas install -d -o root -g www -m 777 "/var/www/tmp/" doas install -o root -g wheel -m 600 "$src/pf.conf" "/etc/pf.conf" doas install -o root -g wheel -m 600 "$src/relayd.conf" "/etc/relayd.conf" doas install -o root -g wheel -m 640 "$src/doas.conf" "/etc/doas.conf" +doas install -o root -g wheel -m 644 "$HOME/prv/sieve" "/etc/dovecot/sieve/default.sieve" doas install -o root -g wheel -m 644 "$src/acme-client.conf" "/etc/acme-client.conf" doas install -o root -g wheel -m 644 "$src/aliases" "/etc/mail/aliases" doas install -o root -g wheel -m 644 "$src/daily.local" "/etc/daily.local" -doas install -o root -g wheel -m 644 "$src/default.sieve" "/etc/dovecot/sieve/default.sieve" doas install -o root -g wheel -m 644 "$src/dovecot.conf" "/etc/dovecot/local.conf" doas install -o root -g wheel -m 644 "$src/httpd.conf" "/etc/httpd.conf" doas install -o root -g wheel -m 644 "$src/smtpd.conf" "/etc/mail/smtpd.conf" diff --git a/s1/sysfiles/default.sieve b/s1/sysfiles/default.sieve @@ -1,178 +0,0 @@ -require ["fileinto", "regex", "envelope", "body"]; - -if anyof ( - - header :contains "to" "undisclosed recipients", - header :contains "to" "undisclosed-recipients", - header :contains "x-spam" "yes" - -) { - fileinto "Junk"; - stop; -} - -if anyof ( - - header :contains "subject" "aktien", - header :contains "subject" "apps proposal", - header :contains "subject" "beneficiary", - header :contains "subject" "charity", - header :contains "subject" "claim", - header :contains "subject" "colis", - header :contains "subject" "congratulations", - header :contains "subject" "contract payment", - header :contains "subject" "crypto", - header :contains "subject" "deal", - header :contains "subject" "dhl-benachrichtigung", - header :contains "subject" "dividenden", - header :contains "subject" "dmr-vertrag", - header :contains "subject" "domaine expiré", - header :contains "subject" "donation", - header :contains "subject" "dpd", - header :contains "subject" "dringend", - header :contains "subject" "erbschaftsmittel", - header :contains "subject" "espace", - header :contains "subject" "facture", - header :contains "subject" "falten", - header :contains "subject" "flirten", - header :contains "subject" "foundation", - header :contains "subject" "fundraising", - header :contains "subject" "gls", - header :contains "subject" "glückwunsch", - header :contains "subject" "inheritance", - header :contains "subject" "jackpot", - header :contains "subject" "letzte chance", - header :contains "subject" "lottery", - header :contains "subject" "mega millions", - header :contains "subject" "metamask", - header :contains "subject" "notifica", - header :contains "subject" "opportunity", - header :contains "subject" "payment notification", - header :contains "subject" "powerball", - header :contains "subject" "precautionary update", - header :contains "subject" "prime membership", - header :contains "subject" "prize", - header :contains "subject" "rückerstattung", - header :contains "subject" "rückzahlung", - header :contains "subject" "schulden", - header :contains "subject" "selected", - header :contains "subject" "spende", - header :contains "subject" "staking", - header :contains "subject" "supervisor", - header :contains "subject" "trezor", - header :contains "subject" "urgent", - header :contains "subject" "visa card", - header :contains "subject" "web proposal", - header :contains "subject" "website design", - header :contains "subject" "winner", - header :contains "subject" "wordpress", - header :contains "subject" "your package", - header :regex "subject" "^[0-9.]+,00 (EUR|€|Euro)" - -) { - fileinto "Junk"; - stop; -} - -if anyof ( - - header :contains "from" "catherine", - header :contains "from" "crypto", - header :contains "from" "dhl", - header :contains "from" "dpd", - header :contains "from" "firebase", - header :contains "from" "gemini", - header :contains "from" "gina", - header :contains "from" "ledger", - header :contains "from" "leslie", - header :contains "from" "lidl", - header :contains "from" "lottery", - header :contains "from" "marie", - header :contains "from" "nespresso", - header :contains "from" "opensea", - header :contains "from" "richard-wahl-stiftung", - header :contains "from" "staking", - header :contains "from" "trezor", - header :contains "from" "wahlfoundation", - header :contains "from" "wendy" - -) { - fileinto "Junk"; - stop; -} - -if anyof ( - - body :contains "airdrop", - body :contains "amazon prime", - body :contains "attorneys", - body :contains "binance", - body :contains "bitcoin suisse", - body :contains "blogspot", - body :contains "business proposal", - body :contains "charles schwab", - body :contains "colis", - body :contains "cripto", - body :contains "designers", - body :contains "desktop suite application", - body :contains "domaine expiré", - body :contains "entschädigung", - body :contains "erbenberechtigter", - body :contains "espace", - body :contains "falten", - body :contains "financial indepenence", - body :contains "findcutesingles", - body :contains "firebase", - body :contains "foundation", - body :contains "gemini", - body :contains "global express gmbh", - body :contains "gls", - body :contains "graphic design", - body :contains "humanitäre hilfe", - body :contains "imf", - body :contains "india", - body :contains "investitionscoach", - body :contains "investments", - body :contains "kapitalcoach", - body :contains "ledger", - body :contains "life-changing", - body :contains "loterie", - body :contains "metamask", - body :contains "million euro", - body :contains "netflix", - body :contains "nigeria", - body :contains "opensea", - body :contains "precautionary update", - body :contains "projektzahlung", - body :contains "reward", - body :contains "robinhood", - body :contains "rückzahlung", - body :contains "seo", - body :contains "sex", - body :contains "single-damen", - body :contains "skype", - body :contains "sonderabetilung", - body :contains "spende", - body :contains "supervisor", - body :contains "swissquote", - body :contains "team in india", - body :contains "trezor", - body :contains "trust wallet", - body :contains "twint-konto", - body :contains "twint-team", - body :contains "united states ambassador", - body :contains "us ambassador", - body :contains "vermögenswerte", - body :contains "visa card", - body :contains "web design", - body :contains "website design", - body :contains "wohltätigkeitsspende", - body :contains "wordpress", - body :contains "wp-login", - body :regex "^[0-9,]+.00 (USD|$|Dollar)", - body :regex "^[0-9.]+,00 (EUR|€|Euro)" - -) { - fileinto "Junk"; - stop; -}