Files
archivmail/config.test.yml
sysops 7e4175923f feat(PROJ-48): Audit-Log Unveränderbarkeit (Trigger, append-only Logfile, Healthcheck)
DB-Trigger audit_log_immutable verhindert UPDATE/DELETE auf audit_log,
zusätzliches append-only JSON-Lines-Logfile (audit.log_path) als
tamper-evident Backup, neuer Healthcheck-Prüfpunkt in archivmail status.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 19:44:07 +02:00

53 lines
1.2 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