DKIM signature System.NullReferenceException
Problem reported by Richard Frank - 2/6/2023 at 5:37 AM
Exception getting DKIM signature System.NullReferenceException: Object reference not set to an instance of an object.
[2023.02.02]    at SmarterTools.MailSigning.DKIM.DKIM.<GetWorkingPemStringFromCurrentPemString>g__ExportPrivateKeyPemStr|16_0(RSACryptoServiceProvider csp)   at SmarterTools.MailSigning.DKIM.DKIM.GetWorkingPemStringFromCurrentPemString(String pemk)   at MailService.RelayServer.RemoteDeliverySession.GetDkimSignature()08:37:14.937 [20123610] MxRecord count: '1' for domain 'prall-tec.de'

What can cause this problem?

1 Reply

Reply to Thread
Kyle Kerst Replied
Employee Post
Are you running the latest public release in this environment, Richard? We had a known issue in the past involving DKIM private keys becoming corrupted or missing in some cases, and I believe this error could be generated in those scenarios. If you take a copy of the domain's settings.json file and open it up, do you see a private key under dkim_private_key(Don't post that here! :))
Kyle Kerst
System/Network Administrator
SmarterTools Inc.
(877) 357-6278

Reply to Thread