As per current recommendation, DKIM keys should be changed at least every 6 months.
Unfortunately, this is not really possible with the current implementation - the only option woulde be to disable DIKM and re-enable it afterwards.
My suggestion is to add a button "Regenerate Key" (ro smth. like this) what does the following:
This would at least allow admins to manually update keys (and probably allow Add-ons to plug-in automation via the variuos DNS APIs out there).
				
			Unfortunately, this is not really possible with the current implementation - the only option woulde be to disable DIKM and re-enable it afterwards.
My suggestion is to add a button "Regenerate Key" (ro smth. like this) what does the following:
- Generate a new key pair, do not replace the private key immediately but store it for later replacement
- Display instruction to add the new RR
- Schedule a job to verify the the new DSN entry is active
- Once it is active replace the current key with the new private key created in step 1
This would at least allow admins to manually update keys (and probably allow Add-ons to plug-in automation via the variuos DNS APIs out there).
		
		Upvote
		3
		
	
			 
 
		 For people that want to, one thing to keep in mind is that you shouldn't just change your DKIM keys cold turkey because changing the DNS entry will invalidate older emails that have already been sent.  So ideally you would want to have a unique selector (that is unique to the time you last changed it, not just
  For people that want to, one thing to keep in mind is that you shouldn't just change your DKIM keys cold turkey because changing the DNS entry will invalidate older emails that have already been sent.  So ideally you would want to have a unique selector (that is unique to the time you last changed it, not just