DKIM Outbound problem

NethServer Version: NethServer release 7.6.1810 (final
Module: Email Sogo

hi all.

I have a problem with the DKIM outgoing.
In the email configuration i have checked the dkim option.
In my registar i have create a txt record with defaut._domainkey.mydomain.fr.
i paste the code appear on nethserver.
I save it no problem.

But when i’m testing the dkim sign, it’s appear to invalid dkim signature.
I have this error appear when i’m testing dkim on a website :
This doesn’t seem to be a valid RSA public key: RSA.xs:178: OpenSSL error: too long at blib/lib/Crypt/OpenSSL/RSA.pm (autosplit into blib/lib/auto/Crypt/OpenSSL/RSA/new_public_key.al) line 91.

Thank’s for your help

each provider gets its default, you could try to give us the name of your provider and why not some screenshots of the fields

you have also a howto in the wiki

Hi.
I found what’s happen.
With ovh you need to create spmdkim._domainkey but not create a txt record. Create a dkim entry and ovh ask for the key.
now the dkim sign is accepted.

1 Like

So, OVH has a non standard way of adding (DKIM) records to their DNS solution?
Good to know for those who use OVH for hosting their domains.