[SOLVED] Dkim domainkey is missing on new installation of e-mail server

Hi

After a failed experiment on my e-mail server, I had to setup the server again.

But now I am missing the information (see screenshot below) I’ve had on the setup last year:

The only information displayed in plinth is port-forwarding (next screenshot), configuration and domains.

Is this box (first screenshot) missing or do I have to extract the information somewhere in the file system?

The consequence of this missing information is, that my mails do get marked as spam very quick and that my mails do not make it to gmail accounts. My guess: it is because the dkim of the mail server does not match with the dkim key on my ISP entry.

I am not on a blacklist and the mxtoolbox tests show a healthy domain and server.

Is this box missing on FreedomBox generally and needs a fix or did I do something wrong?

Greetings from Switzerland

David

Information

Hi @David,

I don’t know how or why FBX didn’t setup your DKIM keys, but I’d start by looking if your private key actually exists.

Can you have a look with

sudo ls -la /var/lib/rspamd/dkim/

to check if the key file is there? You should see a file in the format of domain_name.dkim.key. Also, please check that the ownership of the key file is _rspamd:_rspamd.

Cheers.

EDIT: I’ve moved this post to the “PIONEER SUPPORT” category.

Thank you for your time on this!
I did check with sudo ls -la /var/lib/rspamd/dkim/
and this is the output:

dr-x------ 1 _rspamd _rspamd   88 Feb  5 16:46 .
drwxr-x--- 1 _rspamd _rspamd  888 Feb 25 08:54 ..
-r-------- 1 _rspamd _rspamd 1704 Feb  5 16:46 freedombox2.local.dkim.key
-r-------- 1 _rspamd _rspamd 1704 Feb  5 16:46 my.domain.dkim.key

Is it right, that rspamd hasn’t the ownership on my domain? I am still a beginner and want to make sure I have it right. Is the command sudo chown _rspamd:_rspamd?

I have a spare FreedomBox and did install Postfix/Dovecot there, but the same problem occurs. The mentioned box with the dkim information does not appear.

What would be the best way to go from here?

There seems no problem with ownership, and FBX seems to have generated your DKIM keys. It’s interesting that Plinth does not show you your DNS settings at all.

I believe this problem is not with rspamd (or the mail suite) but maybe with Plinth. Unfortunately I dont have the skill set to go further. I believe support from the devs would be much better off here. Sorry.

Thank you @Ged296123! Yes, I agree with you. It seems to be a Plinth problem and will wait for an answer from the team.

Onoe more thing @David.

This may sound silly, and you may have checked but;

After recent updates, FBX started displayind DNS settings at the very bottom of the Postfix App page.

Postfix/Dovecot > Configure > Domains (end of page) > Relevant Domain

You actually have to click on the domain name to see the settings.
Have you tried that?

@Ged296123
Here we go!!! Not silly at all. I did not check this, but there we go; all the information is there :grinning:
Thank you so much!!! Solved :grinning:

no worries.
glad it worked out.