API function to add custom dkim domains

As an addition to this issue: https://www.virtualmin.com/node/68967

We have DNS managed somewhere else (with fallback on different locations etc), so we cannot use the default integration. What I'm looking for is a way to add custom domains through the api.

I'm now manually putting them in through "Email Settings" -> "DomainKeys Identified Mail" -> "Domains to sign for" (technical name: extra).

It would be nice if there would be an API for that.

Status: 
Fixed (pending)
Virtualmin version: 
6.14
Webmin version: 
1.970

Comments

I've just implemented this API for inclusion in the next release. You'll be able to run :

virtualmin set-dkim --add-extra example.com

Status: Active ยป Fixed (pending)