Question
DKIM on DNS panel DigitalOcean
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×sudo apt-get install opendkim opendkim-toolsNow we can generate the key using:
sudo opendkim-genkey -s mail -d your-domain.comThis will create two files,
mail.private
and mail.txt
The first one is the key itself, and the second one shows the DNS TXT record that you'll use. Let's take a look at that by running:
cat mail.txtYou should now see something like:
mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " "p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDblMQxNcTE0LKzE8ypsmLVJGzWT0eR08+PcGKbK/lHo5el4n6pFgQarN/ppSSVM3Hvn64mPLBqq1JWkDYf1IhfC0ZTF6rN1kgCjBg2mb854dDCcM/wUcf593GVGtxiF+nPxXl7aecA+uyQVcdy+bxvyAHaVTx+zMxbxr48miJGGwIDAQAB" ) ; ----- DKIM key mail for your-domain.comThe part in between the parentheses is what you'll want to paste into the DNS panel. For a full tutorial on how to integrate the DKIM key with postfix on Debian, check out: https://www.digitalocean.com/community/questions/dkim-on-dns-panel-digitalocean
The link to the full tutorial actually links to the parent question :(
into the DO Panel, under DNS, I add a TXT Record
I used that to validate : http://dkimcore.org/c/keycheck
I just found this tuto : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy