Issue with DKIM: disabled, was enabled

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.630
Virtualmin version 8.1.0 GPL
Webserver version ?
Related packages SUGGESTED

Hi, I hope you are well.
In my server seems DKIM is no more working.
Was configured by me time ago and I checked everything was working.
Now I notice that email has no more DKIM signature.
Could be some update the broke the function?

Do you have some advice to diagnose and resolve?
If I go to DomainKeys Identified Mail, Signing of outgoing mail enabled is set to yes.

On the domain, DNS settings, Use global default key is selected.
Checks on external service can verify DKIM but seems outgoing email has not DKIM signature.

I test a couple of domains on my server all work. (Rocky 9)
I verify here https://www.learndmarc.com/, it will go through dmarc spf and dkim and its alignment.
Checked with usermin login and sent via that.

The issue I see is not the verify by web that is passed also by me.
DKIM are not included in the email header so if I send an email the email headers has not DKIM.
This was working in the past.

Oh it’s a great website for test just send an email to this. My email has not DKIM included.
I don’t know why, this was setup by me and working in the past.
Any help will be appreciated.

The site gets you to email them and it will check the email for dmarc, spf and DKIM.
I also send to a gmail account, and use show orginal, you should see,

Great I see. No DKIM.
I was able to configure and setup DKIM in the past. Now seems is no more working.
I don’t know why DKIM are not included in email I do what I think is correct in Virtualmin for activate it.

Sorry I’ve never had a issue with it, can’t think why it would not add.

Maybe disable and re enable it.

Maybe check logs for any errors. Maybe the mail log.

Thanks, disabled and re-enabled but the same issue: DKIM still be not present in the email headers. For now my email has no more DKIM I don’t know really what’s wrong. Maybe Virtualmin staff when will available can help a bit.

Resolved. The issue is that I installed Rspamd to avoid mismatch of “From” header for emails outbound mail but this create issue with DKIM.

Reverting back disabling Rspamd resolve the issue of DKIM but reactivate on my server mismatch of “From” header that is now allowed when I don’t want this to be allowed.

Seems I have to choose between the two issues

1 Like

They have a DKIM signing module

Stefan thank you very much for your help.
I was able to have all working. Was my configuration with Rspamd wrong but fixed.
Thank you very much :folded_hands: have a nice week end :blush:

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.