Täglicher Cron-Job (archivmail reconcile) berechnet pro Tenant/Quelle (SMTP-Journal, IMAP-Konto, POP3-Konto, Datei-Import) archivierte Mail-Zahlen, für IMAP zusätzlich einen Soll/Ist-Vergleich via UID-Tracking. Abweichungen über Schwellenwert erzeugen Audit-Log-Warnung. Neue Admin-Dashboard-Kachel "Vollständigkeits-Check" (letzte 7 Tage, Warn-Badge, CSV-Export). Schließt die "teilweise erfüllt"-Lücke bei Vollständigkeit im GoBD/DSGVO-Compliance-Check (VOI-Grundsatz 2). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
database:
|
|
host: 127.0.0.1
|
|
port: 5432
|
|
name: archivmail_test
|
|
user: archivmail
|
|
password: testpass
|
|
sslmode: disable
|
|
|
|
storage:
|
|
path: /tmp/archivmail-test/store
|
|
max_size_mb: 100
|
|
|
|
smtp:
|
|
enabled: true
|
|
bind: ":2525"
|
|
domain: "localhost"
|
|
tls_cert: ""
|
|
tls_key: ""
|
|
max_size_mb: 10
|
|
# IP-Allowlist: Nur diese IPs/Netze dürfen E-Mails einliefern (z.B. Postfix-Server).
|
|
# Unterstützt einzelne IPs und CIDR-Notation.
|
|
# Leer lassen = alle IPs erlaubt (nur für Entwicklung/Tests geeignet).
|
|
# Änderungen erfordern einen Neustart: systemctl restart archivmail
|
|
#
|
|
# Beispiele:
|
|
# allowed_ips:
|
|
# - "192.168.1.10" # einzelner Mailserver
|
|
# - "192.168.1.0/24" # komplettes Subnetz
|
|
# - "10.0.0.5" # weiterer einzelner Host
|
|
allowed_ips: []
|
|
|
|
imap: []
|
|
|
|
api:
|
|
bind: ":8080"
|
|
secret: "dev-secret-change-in-production-min32"
|
|
tls: false
|
|
|
|
index:
|
|
backend: manticore
|
|
manticore_dsn: "manticore@tcp(127.0.0.1:9306)/"
|
|
batch_size: 10
|
|
|
|
logging:
|
|
path: /tmp/archivmail-test/logs
|
|
level: debug
|
|
|
|
audit:
|
|
# Append-only JSON-Lines Audit-Logdatei (PROJ-48).
|
|
# Default falls leer: /var/log/archivmail/audit.log
|
|
log_path: /tmp/archivmail-test/audit.log
|
|
retention_days: 0
|
|
|
|
# PROJ-52: Vollständigkeits-Reconciliation (Zähl-Report Mailserver vs. Archiv).
|
|
# Der Job wird per Cron gestartet: `archivmail reconcile` (z.B. täglich 00:30).
|
|
reconciliation:
|
|
# Relativer Rückgang (in Prozent) unter den 7-Tage-Durchschnitt einer Quelle,
|
|
# ab dem ein reconciliation_anomaly Audit-Eintrag geschrieben wird.
|
|
# Weglassen = Default 50. Hinweis: SMTP-Journale schwanken stark
|
|
# (Wochenende/Feiertage) — bei False-Positives Schwellenwert erhöhen.
|
|
alert_threshold_pct: 50
|