Mailjet SPF & DKIM to DigitalOcean

Posted October 29, 2018 2.8k views
DNSUbuntu 18.04

Hi guys,

I try to setup an mail server by to my DigitalOcean Discourse 2.0.220180802 Droplet. So I added a domain to the droplet that dircets to the discourse server.

A     directs to 46.101.***.***          3600 
NS     directs to   1800
NS     directs to   1800 
NS     directs to   1800

Also in Mailjet: Add domain

Value TXT: d780713ae1560f4e28d8f15e8048271 

Then i add a DNS recod to DigitalOcean

Type TXT
Hostname: mailjet._d780712a
Value: d780713ae1560f4e28d8f15e8048271

so it looks like:

TXT    3600

Now try to validate, but it fails.

If I switch to edit domain in Mailjet, there are also:
TXT: v=spf1 ?all

and DomainKeys/DKIM
k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDh/72U9BmklM5b19iKfsPsrTD54YIvjar4Li+p+zFmGqP3

Where is my mistake?

Thanks for helping

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.

Submit an Answer
2 answers

I think I have a similar issue,
I have a mail server on one of droplets, it works, but dkim it’s not working,
My domain name is from so I configured dkim record on namecheap,
My question is, do I have to configure dkim dns record here in DigialOcean?
In other words, Does digitalocean blocking other dkim? so I have to open/configure it here again?

Hey, @dufner @jalalhaj
I was facing some similar issues, wherein my dkim was not working.
I thought this was too complicated process, and my peers suggested me Pepipost.
Wherein my Domain was verified quickly.
I am now currently sending bulk Emails through Pepipost and I love their service too.