I follow this post : https://www.digitalocean.com/community/questions/dkim-on-dns-panel-digitalocean So I generate a private key and a public key. In digitalocean DNS I put a record TXT with mail._domainkey and the part between “v=DKIM1; k=rsa; p=AIAfA…”. To send mail I use Django and I use an external email service provider…so in Django backend code I log with e-mail, password of the email account and send a mail with the comand send_mail(). On the ESP side I insert the same record TXT. It seems not work and DKIM fail (maybe I miss something in the DNS configuration in both side?)…I didn’t understand if I need to create a simple local server mail (for example using postfix) to sign the mail and after send it to the ESP or I can bypass this part. For the moment I use the TXT record provide from the ESP (I use it in a TXT record on digitalocean) in this way my email will sign by the ESP not by me… for example yahoo receive an email from me (from my esp but wrote by me), he read the selector and my domain in the header and so yahoo mail make a dns query to check the sign and all works good.
If I want sign by myself the mail, what I need? I want anyway use an ESP to avoid complex configuration but also to have a mail interface.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.