CentOS 8.x Control Web panel Enable DKIM for a Domain
Home > CentOS > CentOS 8.x > Email servers > Control Web panel > CentOS 8.x Control Web panel Enable DKIM for a Domain
How to Enable DKIM for a Domain in CWP (Control Web Panel)
Log in to the CWP Admin Panel
Access the panel using:
http://<your-server-ip>:2030 https://<your-server-ip>:2031 # (for SSL)
Login using your admin credentials.
2: Open Mail Server Manager
From the left sidebar, navigate to:
Email → MailServer Manager
3: Ensure DKIM Support is Enabled
- Make sure Postfix is installed and running.
- Ensure OpenDKIM is installed and active.
- If not installed:
Go to:
Email → MailServer Manager → Rebuild Mail Server
Install/enable the DKIM support during rebuild.
4: Generate DKIM Keys for the Domain
- Navigate to:
Email → DKIM Manager
- Select your domain from the dropdown.
- Click on Add DKIM
This will:
Generate a public/private key pair
Auto-configure OpenDKIM/Postfix for the selected domain
Add the DKIM TXT Record to DNS
After generating, a TXT record will be displayed.
Go to your DNS zone editor (e.g., CWP DNS, Cloudflare, GoDaddy, etc.)
Add a new TXT record with the following:
Name (Host): default._domainkey Type: TXT Value: (copy the full value from DKIM Manager)
Verify DKIM Configuration
Wait for DNS propagation (usually a few minutes to hours). Then:
Use tools like mxtoolbox and verify the DKIM signature.
Or send an email to a Gmail account, click Show original, and look for:
DKIM: PASS
Restart Services (Optional)
If DKIM isn’t working immediately, try restarting the services:
systemctl restart opendkim systemctl restart postfix
Home > CentOS > CentOS 8.x > Email servers > Control Web panel >
CentOS 8.x Control Web panel Enable DKIM for a Domain