Hi team, hope everyone is doing well.
We attempted to setup DKIM for a virtual server and we could not find the Server Configuration > DomainKey option. We assumed that DKIM was disabled on the server by default as this was a default install. Now we check Email Settings > DomainKeys Identified Mail and to our surprise, the "Signing of outgoing mail enabled?" option was set to Yes. We turned it off and then it tried to remove all the DNS records for all our virtual servers but it said that they were already removed and nothing was to be done. Not sure if this is expected behavior because if it is set to Yes, we would have assumed that DKIM records were being added and everything was working properly, but turns out, it actually wasn't on at all. When we switched the option back to Yes and saved, then it actually started generating keys and the Server Configuration > DomainKey option started showing up for our Virtualmin users. We are thinking about scaling here and we are trying to minimize deployment issues. If we have to scale a large amount of servers and need to do this trick every time, it will not be efficient for us. Can you guys please verify if you are able to reproduce this on a default centos 7 install?
In addition, if the Virtualmin user is using CloudFlare or an external DNS provider, they should be able to just add the DNS records no issues right? We read the help page and it states that apparently we have to add more domains to sign for if the DNS is hosted elsewhere but email is hosted on the server. We wouldn't be able to manually add every single virtualmin user's domains to this list so we are hoping that this is not needed and it works by adding the same TXT record in DNS Options to the external DNS provider like CloudFlare.
Looking forward to hearing back from you guys, thank you!
Additionally: DKIM was installed by virtualmin during main install because it was already on the system. We did not get a message saying that DKIM was not installed and Virtualmin can try to install it automatically.
This was for the GPL install of Virtualmin for Centos!
Update: We tested DKIM by adding the records needed for DKIM in CloudFlare on a test site and virtualmin did sign the emails just fine, no problems here. Just need to figure out the initial issue now. Thanks!
Webmin version 1.942 Usermin version 1.791 Virtualmin version 6.08 Cloudmin version 9.5.kvm Pro