Submitted by SeanieB on Mon, 02/11/2013 - 17:31
Been trying to set up DKIM mail for a couple hours now. Common solution on the site calls for setting the system to generate 1024-bit keys, but I still get
I tried reloading configuration and restarting Webmin, using the "Force new private key" and deleting the dkim.key file manually.
rndc: reload failed: ran out of space
Is there a proper solution to this problem at this time?
Status:
Active
Comments
Submitted by aitte on Mon, 02/11/2013 - 17:57 Comment #1
yes it is hardcoded to 2048 and doesnt care about the global virtualmin ssl key strengt setting...
i saw that this will be fixed in the next version so that we can change the options in the dkim panel, but for now you can patch it like this:
you must do all 3 commands, then "force regenerate key" in dkim, also make sure your doman dns TXT records got updated to the new key
Submitted by mn3250 on Fri, 09/22/2017 - 03:50 Comment #2
This issue is still not resolved and results in mails going to spam-box of some users because their ISP's DNS does not work with DKIM size larger than 1024. Also the solution above does not work. Thank you in advance.
Submitted by JamieCameron on Sat, 09/23/2017 - 11:50 Comment #3
mn3250 - which Virtualmin version are you running?
Submitted by mn3250 on Mon, 09/25/2017 - 03:27 Comment #4
Thank you for your answer. Virtualmin 6.00.gpl.
Submitted by JamieCameron on Mon, 09/25/2017 - 18:20 Comment #5
Have you re-generated the DKIM key for the problem domains recently? If it was enabled when you had an older Virtualmin version, the old key would still be in use.
Submitted by mn3250 on Wed, 09/27/2017 - 01:26 Comment #6
I have re-generated new DKIM keys. The new ones are still generatred as 2048-bit.
Submitted by JamieCameron on Wed, 09/27/2017 - 17:44 Comment #7
I assume that on the page in Virtualmin where you enable DKIM and it prompts for the key size, you entered 1024 ?
Submitted by mn3250 on Thu, 09/28/2017 - 05:06 Comment #8
Correct. To make sure also changed the key name. Looking at /usr/libexec/webmin/virtual-server/dkim.cgi code, it is still hardcoded 2048.
Submitted by JamieCameron on Fri, 09/29/2017 - 19:19 Comment #9
Looking at the code, I can't see how this could happen. Which Virtualmin version are you running there?
Submitted by alnassre on Mon, 03/02/2020 - 01:28 Comment #10
issue still. DKIM always generates 2048-bit keys regardless of Virtualmin settings 2020
What is 2020? A year or a key size?
You need to set to Yes Force generation of new private key? option before saving, if you want your key to be regenerated.