Enable DKIM in Bulk (WebUI Method)
- Open the cPFence WebUI on your Main Control Panel server.
- Use the Switch Server dropdown in the left menu to choose the server you want to manage, or leave it set to Local for the current server.
- From the left menu, go to Tools & Utilities and click ApiMachine Bulk Tools.
- Click Set Enhance API Key and enter your Enhance API key.
- To target only certain domains, check the Run on specific domains only box and select the sites you want. Or, leave it unchecked to apply to all domains.
- Click Bulk Enable DKIM to activate DKIM for your selected scope (full cluster, server, or sites).
This approach lets you control where and how DKIM is enabled—across your whole cluster, a single server, or just specific domains, all through an easy-to-use interface.
Command Line (CLI) Method
- SSH into your Main Control Panel server.
- Run the following command to enable DKIM for all or selected domains:
cpfence --bulk-enable-dkim-cluster - You’ll see a summary including all domains in
/var/log/cpfenceav/cluster-sites-list.txt. Edit this file if you want to exclude any domains before proceeding. - Confirm when prompted to enable DKIM. The tool will apply changes to all domains listed.
To update the site list, use cpfence --generate-cluster-sites-list before running the bulk enable command.
Need Further Assistance?
Visit our Knowledgebase or contact our support team for help.
