Hello, on “DigitalOcean - DNS - View domain.tld - Add record - TXT (Enter name, Enter record) - Create” https://cloud.digitalocean.com/domains I want to add DKIM for domain on Debian (ISPConfig, Webmin), where I can find DKIM record on server? Thank you.
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.
I just found this tuto : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
into the DO Panel, under DNS, I add a TXT Record
I used that to validate : http://dkimcore.org/c/keycheck
You need to generate the DKIM key yourself. On the server, first install the nessasary packages: <pre> sudo apt-get install opendkim opendkim-tools </pre> Now we can generate the key using: <pre> sudo opendkim-genkey -s mail -d your-domain.com </pre> This will create two files, <code>mail.private</code> and <code>mail.txt</code> 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: <pre> cat mail.txt </pre> You should now see something like: <pre> mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " “p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDblMQxNcTE0LKzE8ypsmLVJGzWT0eR08+PcGKbK/lHo5el4n6pFgQarN/ppSSVM3Hvn64mPLBqq1JWkDYf1IhfC0ZTF6rN1kgCjBg2mb854dDCcM/wUcf593GVGtxiF+nPxXl7aecA+uyQVcdy+bxvyAHaVTx+zMxbxr48miJGGwIDAQAB” ) ; ----- DKIM key mail for your-domain.com </pre> The 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
You need to generate the DKIM key yourself. On the server, first install the nessasary packages: <pre> sudo apt-get install opendkim opendkim-tools </pre> Now we can generate the key using: <pre> sudo opendkim-genkey -s mail -d your-domain.com </pre> This will create two files, <code>mail.private</code> and <code>mail.txt</code> 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: <pre> cat mail.txt </pre> You should now see something like: <pre> mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " “p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDblMQxNcTE0LKzE8ypsmLVJGzWT0eR08+PcGKbK/lHo5el4n6pFgQarN/ppSSVM3Hvn64mPLBqq1JWkDYf1IhfC0ZTF6rN1kgCjBg2mb854dDCcM/wUcf593GVGtxiF+nPxXl7aecA+uyQVcdy+bxvyAHaVTx+zMxbxr48miJGGwIDAQAB” ) ; ----- DKIM key mail for your-domain.com </pre> The 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
You need to generate the DKIM key yourself. On the server, first install the nessasary packages: <pre> sudo apt-get install opendkim opendkim-tools </pre> Now we can generate the key using: <pre> sudo opendkim-genkey -s mail -d your-domain.com </pre> This will create two files, <code>mail.private</code> and <code>mail.txt</code> 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: <pre> cat mail.txt </pre> You should now see something like: <pre> mail._domainkey IN TXT ( "v=DKIM1; k=rsa; " “p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDblMQxNcTE0LKzE8ypsmLVJGzWT0eR08+PcGKbK/lHo5el4n6pFgQarN/ppSSVM3Hvn64mPLBqq1JWkDYf1IhfC0ZTF6rN1kgCjBg2mb854dDCcM/wUcf593GVGtxiF+nPxXl7aecA+uyQVcdy+bxvyAHaVTx+zMxbxr48miJGGwIDAQAB” ) ; ----- DKIM key mail for your-domain.com </pre> The 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
Where should I put the file
mail.private
?