Problems with DNS records

  • Context: HTML/CSS 
  • Thread starter Thread starter sbrothy
  • Start date Start date
sbrothy
Gold Member
Messages
1,537
Reaction score
1,390
TL;DR
Apparently I can't get my DNS DKIM records to work...
A silly prefix for this question I know but that was as close as I could get.

Initially I didn't really think of this forum as a place for intricate IT developer or adminstrator questions but I heard through the grapewine that there's a not insignificant number of retired IT folks here (*cough*). So let's give it a shot:

I'm hosting my little hobby website on a virtual Linux box:

Linux omecc.dk 6.17.0-23-generic #23-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:29:57 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

I've (tried to) set up postfix, opendkim, opendmarc and my DNS records to be able to send and receive emails which was (is!) quite a nerdy tour de force!

Unfortunately opendkim-testkey still tells me that my DKIM key isn't secure:

Bash:
root@omecc:/etc/opendkim/keys# opendkim-testkey -d omecc.dk -s mail -vvv
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: key loaded from /etc/opendkim/keys/omecc.dk.private
opendkim-testkey: checking key 'mail._domainkey.omecc.dk'
opendkim-testkey: key not secure
opendkim-testkey: key OK
root@omecc:/etc/opendkim/keys#

I've tested permissions for every conceivable directory and file but I feel really stuck (or perhaps I just need some fresh air?).

An online DNS analyzer gives me this "lovely" picture:

https://ibb.co/g5sBGj4

I'm under the impression that CDS and CDNSKEY values are handled by my DNS provider. Maybe I need to fiddle with my DNSSEC settings but before I do that I would like to be sure I'm barking up the right tree.

Now I realize I could ask the people I'm paying for providing me with this service, but the subject is pretty technical. Someday when I get through their "tutorials", "already solved problems", and (oh god!) the AI guarding the entrance to support I will.

It would be nice if someone had an idea but I realize the info is scarce, there's a ton of config files and a million points of failure. Sometimes it helps to just articulate the problem though (or take a break).
 
Technology news on Phys.org
jack action said:
I may be off the thread subject, and I haven't tried these options yet, but next time I will have to install email on a server, I will look into these options:
No, you're still on subject. I've also considered just letting google handle my email. That would be so much easier! It just annoys me to give up!
 
sbrothy said:
I've (tried to) set up postfix, opendkim, opendmarc and my DNS records to be able to send and receive emails

Even if you manage to set everything up correctly you will still have the problem that you will be sending email from an IP address that is probably blacklisted.

sbrothy said:
I've also considered just letting google handle my email.

Do it. Or if you want to send email from your own domain try a service like Amazon SES (cheap but tricky), or Postmark (easy but more expensive).

The time you save you can spend on fixing your website.
 
  • Informative
  • Like
Likes   Reactions: berkeman and sbrothy
pbuk said:
Even if you manage to set everything up correctly you will still have the problem that you will be sending email from an IP address that is probably blacklisted.

Why would it be blacklisted? Is my provider a notorious spam source?

Do it. Or if you want to send email from your own domain try a service like Amazon SES (cheap but tricky), or Postmark (easy but more expensive).

The time you save you can spend on fixing your website.

Ahaha, I walked right into that one! :smile: But yes, it's a work of "love" more than of the "mind". I used to code backend, RDBMS and embedded when I wasn't called upon to put out other people's fires.

Anyway, it'll never be fixed. I didn't even use a proper MVC setup. "Refactoring" is too nice a word for something that should really be burned if it weren't entirely etheral.

But seriously, thank you for the pointer. I'll have a look....
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 37 ·
2
Replies
37
Views
7K
  • · Replies 3 ·
Replies
3
Views
4K