[Rspamd-Users] Question: How to manually DKIM sign message for testing

David Favor david at davidfavor.com
Tue Jun 22 13:36:44 UTC 2021

David Favor wrote:
> Someone pass along the exact command line command to
> pass rspamd a file, then either get the DKIM signatures
> back on the command line.
> Thanks.

This seems to work...

Someone let me know if this is correct... or there's a more correct way to accomplish this...

    rspamadm mime sign -t dkim -d davidfavor.com -s dkim_rsa1024 \
       -k /etc/rspamd/dkim/davidfavor.com/dkim_rsa1024_20210620_01.key -o signature ~/test.email

    rspamadm mime sign -t dkim -d davidfavor.com -s dkim_ed25519 \
       -k /etc/rspamd/dkim/davidfavor.com/dkim_ed25519_20210620_01.key -o signature ~/test.email


More information about the Users mailing list