For mail on a domain to work reliably you need 4 types of DNS records. Each solves its own task.
MX — where to receive mail
Lists the domain's mail servers. There can be several with priorities (lower = higher).
Type: MX Name: @ Priority: 10 Value: mail.yourdomain.tj Type: MX Name: @ Priority: 20 Value: mail2.yourdomain.tj
Without MX, mail doesn't arrive — senders get an error.
SPF — who can send on behalf of the domain
List of IPs/domains allowed to send mail with @yourdomain.tj as return-path.
Type: TXT Name: @ Value: v=spf1 +a +mx +ip4:195.158.10.20 -all
Without SPF, mail from your domain hits spam at Gmail/Yahoo/Outlook.
DKIM — cryptographic signing
cPanel generates the DKIM key automatically. The record looks like:
Type: TXT Name: default._domainkey Value: v=DKIM1; k=rsa; p=MIGfMA...
Without DKIM mail only passes SPF check — not enough for major providers anymore.
DMARC — handling policy
Tells mail servers what to do with messages failing SPF or DKIM.
Type: TXT Name: _dmarc Value: v=DMARC1; p=quarantine; rua=mailto:postmaster@yourdomain.tj
Policies: none (stats only), quarantine (spam folder), reject (drop).
Verification
All 4 records can be checked via Email DNS Checker. If something's missing — you'll see a recommendation.