Skip to content

Handle Authentication-Results safely

Remote result headers can contain arbitrary claims. Your mailserver must perform its own authentication.

Setup

Prepare your values and Debian packages. CLI tests use only your local test files and configuration.

Connect Rspamd. Accept result headers only from explicitly trusted boundary systems you control, and use locally generated authentication results in the Rspamd profile.

Test

set -euo pipefail
rspamadm configtest
rspamadm configdump milter_headers
rspamadm configdump dkim
rspamadm configdump spf
rspamadm configdump dmarc
systemctl is-active rspamd
echo 'Local authentication modules configured; do not treat external headers as evidence.'

This CLI test confirms the local behavior described above. For production, send your own message using the actual client and MTA through the real sending route and verify it at a recipient you control.