Track Sieve/plan/Roundcube files and update move log

- Add financ.sieve, plan.md, roundcube.txt to version control
- Update verplaats_log.json after backup dry run
- Gitignore codex.session session file
This commit is contained in:
2026-07-11 13:08:15 +02:00
parent 7b345b8795
commit da481678b6
5 changed files with 8048 additions and 3182 deletions
+26
View File
@@ -0,0 +1,26 @@
# mailcat_roundcube.sieve
# Generated from domain_routes.json and mailinglist_routes.json.
# Intended for Roundcube/Managesieve import for hans@australius.nl.
# Do not use :copy: these rules sort incoming mail into destination folders.
# Historical mailbox reordering still requires verplaats_bestaand.py.
require ["fileinto", "date", "variables"];
# Financial rules are first. The invoice rule stays dynamic, so individual quarters are not separately ordered.
# rule:[Financieel / Facturen / Dynamisch kwartaal]
if header :contains "Subject" ["factuur", "invoice", "rekening", "nota", "betaalverzoek", "receipt", "orderbevestiging", "order confirmation", "betaling ontvangen", "payment received", "uw factuur", "your invoice", "je factuur"] {
if currentdate :matches "year" "*" {
set "jaar" "${1}";
}
if anyof (currentdate :is "month" "1", currentdate :is "month" "2", currentdate :is "month" "3") {
fileinto "INBOX.Financieel.Facturen.${jaar}.Q1";
} elsif anyof (currentdate :is "month" "4", currentdate :is "month" "5", currentdate :is "month" "6") {
fileinto "INBOX.Financieel.Facturen.${jaar}.Q2";
} elsif anyof (currentdate :is "month" "7", currentdate :is "month" "8", currentdate :is "month" "9") {
fileinto "INBOX.Financieel.Facturen.${jaar}.Q3";
} else {
fileinto "INBOX.Financieel.Facturen.${jaar}.Q4";
}
stop;
}