I recently set up MiaB on a fresh and dedicated DigitalOcean droplet by following the guidelines rigorously. Everything hums great.
Because we’re planning newsletters, I added four custom TXT records to validate my domain with Sendinblue (DKIM, SFP, DMARC and one for a sendinblue code).
Then I began testing.
INTRO:
When I sent an email to my hotmail address:
I got an email from Microsoft with the following message:
550 5.7.1 Unfortunately, messages from [my.ip.add.ress] weren't sent.
Please contact your Internet service provider since part of their network
is on our block list (S3140). You can also refer your provider to
http://mail.live.com/mail/troubleshooting.aspx#errors.
I went through the trouble of checking my IP address with Microsoft (SNDS), which said “probably spam or something”, had it reviewed, got it set to “Conditionally mitigated” until my reputation becomes “good” (whatever that means).
In short, now I’m able to send emails to hotmail addresses, but they go to spam.
PART 1 - testing
This got me wondering what the problem may have been. Both mail-tester.com and apps.glockapps.com give me a DKIM error. And glockapps tells me my email goes to spam for both Outlook and Hotmail (whereas most other platforms they test, deliver the mail to inbox).
In short, everything seems ok, except for the DKIM error and the message going to spam for microsoft servers. Are these issues related? Microsoft is probably just shitty, but still, a valid DKIM might probably help to get my emails to Hotmail/Outlook inboxes.
PART 2 - isolating the error (?)
Digging into the DKIM error: https://dkimcore.org/c/keycheck tells me I have 2 TXT records for mail._domainkey.mydomain.com
, where I should have only one. Which is true, because I added a DKIM TXT record in the MiaB Custom DNS for Sendinblue to verify my domain.
Further digging made me realize it’s totally fine to have multiple DKIM records, as long as they each have a unique selector. In my case, both use mail._domainkey.mydomain.com
.
PART 3 - solution?
I tried changing the DKIM selector for my MiaB by following suggestions I found in a topic here as I’m thinking that Sendinblue wouldn’t change theirs for me… .
To be specific, I did the following:
- I changed
:mail:
to:box:
in theetc/nsd/zones/mydomain.com.txt
file - I generated a new key for DKIM by running
$ sudo opendkim-genkey --bits=1024 -s box -d mydomain.com
in theroot@box:/home/user-data/mail/dkim
folder
But my MiaB DKIM selector didn’t change from mail to box. As @Alento has pointed out, this would probably not stick after an update anyway.
I realize I’m kind of broaching multiple topics here, and I may have jumped to conclusions along my line of thought - apologies for that, I’m on a steep learning curve here.
Any idea/suggestion/pointers would be much appreciated!
Thanks!