DKIM rekord is empty

NethServer release 7.6.1810 (final) - 3.10.0-957.27.2.el7.x86_64

I want to set DKIm but the record is empty.
I’ve done it on multiple servers, but I haven’t had one yet.

I think you have to create it at your provider. I don’t use it myself, but I’ve found an entry about configuring DKIM at the wiki.[]=dkim#domainkeys_identified_mail_dkim

@m.traeumner You are pointing to the correct wikipage, however, the key should be provided by NethServer. And since the key is empty in the nethserver-mail domain settings of @Krajczar_Jeno he definitely is experiencing some kind of bug in his install.
@giacomo any ideas?

/edit: @Krajczar_Jeno can you try removing the checkmark “Sign outbound messages with DomainKeys Identified Mail (DKIM)”, click submit, then edit the domain settings again and add the checkmark again? As soon you add the checkmark, the key should be generated.

do you have the keys generated inside

ll /etc/opendkim/keys/

-r--r----- 1 opendkim opendkim 1679 Aug 29 17:20 default.private
-r--r--r-- 1 opendkim opendkim  504 Aug 29 17:20 default.txt

the files cannot be empty

Is manually generating dkim keys a good idea?
step 3 in

It works for me too.
ll / etc / opendkim / keys /
total 8
-r - r ----- 1 opendkim opendkim 1675 May 17 21:54 default.private
-r - r - r-- 1 opendkim opendkim 501 May 17 21:54 default.txt

But, the web interface is empty.

I do not understand why.

Check the httpd-admin log when you open the web interface, you could have some clues, same in messages log

You could also check into Cockpit Interface if it works.
Go to Email > Domains > Configure DKIM


I think the files are created, they are good. I compared it to another server.
There is a problem with web display.

@Krajczar_Jeno are you using Safari?
Would you please try to use Firefox?

same with all browsers

  1. what about logs please
  2. what about to display in a terminal the public key with root and an unprivileged user

[root@ns7loc14 ~]# cat /etc/opendkim/keys/default.txt

there is no security risk for the public key, it is world available

[root@ptserver ~]# cat /etc/opendkim/keys/default.txt
default._domainkey IN TXT ( "v=DKIM1; k=rsa; "
“rEEbq2XJbMUSaS8+yQoJ0Hh4YTecWS2HxAYFAofeTpCrqQvGmsw8BqMrjafLIY6hayFi8NOxijEWytni4cF6y+Flwi4OtuZz9nnEiIBJDU80zFaaowDRw0aDvgmvjyZAUZrW805wIDAQAB” ) ; ----- DKIM key default for