commit 9c6894cb058da3ddb1aeee449bc96f7eb731aba0
parent 4b17431f8136ab574227b34570d33145ab76ec6c
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 2 Dec 2024 20:16:03 +0100
parent 4b17431f8136ab574227b34570d33145ab76ec6c
Author: Katja (ctucx) <git@ctu.cx>
Date: Mon, 2 Dec 2024 20:16:03 +0100
machines/trabbi/mail: add new sieve-stuff
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/machines/trabbi/mail/rules-katja.sieve b/machines/trabbi/mail/rules-katja.sieve @@ -27,6 +27,14 @@ if address :contains "to" "@thein.ovh" { addheader :last "Subject" "[OLD DOMAIN] ${subject}"; } +if address :contains "to" "leah" { + if header :matches "Subject" "*" { + set "subject" "${1}"; + } + + deleteheader "Subject"; + addheader :last "Subject" "[OLD NAME] ${subject}"; +} if header :contains "From" [ "newsletter@email.mtstofferie.de",