opendkim-genkey -D /etc/opendkim/keys/example.com -d example.com -s default

Category: Mail Servers & Postfix

opendkim-genkey -D /etc/opendkim/keys/example.com -d example.com -s default

Generate a DKIM keypair with OpenDKIM

Creates a private key file and a TXT record file named after the selector in the -D directory. Publish the TXT record at default._domainkey.example.com and point OpenDKIM at the private key. DKIM = cryptographic signature proving an email came from your domain.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.