DKIM resign after update?


Verified User
Nov 30, 2015
Hi all!

I encountered a weird problem. So, I have some fairly new servers (setup in dec 2017) and enabled DKIM from the start. Back then everything was working (verified with

Last week I updated exim to the latest version and also updated the exim.conf to the latest 4.5 version (comes from 2.2 if I recall correctly). After the update I was still able to send and receive emails. So I thought everything was alright. After reading some topics here, I decided to test dkim again today and now it failed the test.

I issued this command:
echo "action=rewrite&value=dkim" >> /usr/local/directadmin/data/task.queue

And now mail-tester and dkimvalidator are passing again.

So my question: Do I need to regenerate dkim keys after every update or was this because I also updated the config?

The emails where still being signed, but the dns key didn't match the file key...