How to Configure SPF, DKIM, and DMARC in BrainyCP
The BrainyCP panel is no longer offered for new servers. This guide is kept for those who already have it installed. For a new VPS choose FASTPANEL, ISPmanager or CloudPanel - see the FastPanel, ISPmanager server (VPS) and CloudPanel sections.
This guide explains how to configure SPF, DKIM, and DMARC to improve email delivery and prevent messages from going to spam.
What Are SPF, DKIM, and DMARC?
- SPF — defines which servers can send email for your domain;
- DKIM — adds a digital signature to emails;
- DMARC — sets rules for handling failed authentication.
Before You Start
- domain must be added to BrainyCP;
- email accounts must be created;
- DNS must be managed via your DNS manager.
Step 1: Enable SPF
Go to Mail → SPF.
Enable SPF using the toggle switch.
Step 2: Enable DKIM
Go to Mail → DKIM.
Enable DKIM for your domain.
Step 3: Enable DMARC
Go to Mail → DMARC.
Enable DMARC for your domain.
Step 4: Install SSL for Mail
Go to Certificates / SSL Control.
Install a Let's Encrypt certificate and enable:
- Install Certificate for Email;
- Auto-Renew.
Step 5: Add DNS Records
Go to your DNS manager and add TXT records.
Copy the records from BrainyCP (DNS Editor section) and add them as:
- Type: TXT;
- Name: as provided;
- Value: record content.
Repeat this for all required records.
Step 6: Wait for DNS Propagation
Changes may take up to 24 hours to apply.
Step 7: Verify Configuration
- send a test email;
- check if it lands in inbox;
- verify SPF/DKIM/DMARC status using online tools.
Tips
- always configure all three (SPF + DKIM + DMARC);
- use a valid domain with SSL;
- avoid sending emails from unverified domains.
Without DNS TXT records, email authentication will not work.




