# Dateien fuer /etc/rspamd/local.d/ # Beispiel von www.postfix-howto.de, Stand November 2026 # Pruefen: rspamadm configtest ##### redis.conf ##### servers = "127.0.0.1"; ##### actions.conf ##### greylist = 4; add_header = 6; reject = 15; ##### milter_headers.conf ##### use = ["x-spamd-bar", "x-spam-level", "authentication-results"]; authenticated_headers = ["authentication-results"]; ##### greylist.conf ##### enabled = true; timeout = 5min; expire = 30d; ##### dkim_signing.conf ##### # Schluessel erzeugen: # rspamadm dkim_keygen -b 2048 -s mail2026 -d example.org \ # -k /var/lib/rspamd/dkim/example.org.mail2026.key selector = "mail2026"; path = "/var/lib/rspamd/dkim/$domain.$selector.key"; allow_username_mismatch = true; ##### antivirus.conf (nur mit ClamAV) ##### clamav { type = "clamav"; servers = "/run/clamav/clamd.ctl"; action = "reject"; symbol = "CLAM_VIRUS"; scan_mime_parts = true; } ##### worker-controller.inc ##### # Hash erzeugen mit: rspamadm pw password = "$2$HIER-DEN-HASH-EINTRAGEN";