docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec rspamd-mailcow rspamadm dkim_keygen -d example.com -s default

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec rspamd-mailcow rspamadm dkim_keygen -d example.com -s default

Generate a DKIM key pair and print its DNS record

rspamadm dkim_keygen creates a DKIM signing key for the domain and prints the TXT record to publish in DNS. DKIM is the authentication scheme that lets receivers verify mail really came from your domain. Publish the printed record at default._domainkey.example.com.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.