rspamadm mime sign -d example.com -s default -k /etc/rspamd/dkim/example.com.key message.eml

Category: Mail Servers & Postfix

rspamadm mime sign -d example.com -s default -k /etc/rspamd/dkim/example.com.key message.eml

Sign a test message with a DKIM key

Applies the configured DKIM key to a sample message and writes the signed result to stdout, which proves the key and selector work before you rely on them in production. Redirect to a file and inspect the DKIM-Signature header. Related: `rspamadm dkim_keygen`.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.