For our Blog Visitor only Get Additional 3 Month Free + 10% OFF on TriAnnual Plan YSBLOG10
Grab the Deal

How to Fix Common Email Errors in cPanel Hosting

To fix common email errors in cPanel hosting, verify SMTP authentication, correct mail client settings (IMAP/POP ports and SSL/TLS), and repair DNS (SPF, DKIM, DMARC, rDNS). Clear mailbox quotas, check blacklists, and review server logs or the Mail Queue for clues. Most issues resolve by correcting authentication, DNS, or quotas in cPanel’s Email tools.

Email is mission‑critical and when messages bounce or won’t send, the fix usually sits inside cPanel. In this guide on how to fix common email errors in cPanel hosting, you’ll learn the exact steps to diagnose and repair SMTP, DNS, quota, SSL, and client configuration problems, using beginner‑friendly instructions and proven deliverability practices.

What Causes Email Errors in cPanel?

Most cPanel email failures trace back to one of these core areas:

  • Authentication issues: SMTP auth disabled, wrong password, or bad sequence.
  • DNS misconfiguration: Broken or missing SPF, DKIM, DMARC, MX, or rDNS (PTR).
  • Mailbox limits: Quota exceeded or storage full.
  • Network/SSL: Wrong ports, blocked port 25, TLS mismatch, certificate hostname mismatch.
  • Reputation/filters: Blacklisted IP/domain, aggressive recipient filters, or greylisting.
  • Server state: Mail queue backlog, high load, or firewall rules blocking mail.

Quick Diagnostic Checklist (Faster Fixes)

  • Confirm the exact bounce/SMTP error code (e.g., 550, 552, 421) and message.
  • Test webmail (Roundcube in cPanel). If webmail works, the issue is likely client-side.
  • Verify username/password and SMTP authentication in your mail app.
  • Use the correct ports: IMAP 993 (SSL), POP3 995 (SSL), SMTP 465 (SSL) or 587 (STARTTLS).
  • Check cPanel > Email Accounts for mailbox quota and storage usage.
  • Open cPanel > Email Deliverability to repair SPF/DKIM/DMARC.
  • Send a test to a major mailbox (Gmail/Outlook) and review the bounce reason.
  • Check if your domain/IP is on a public blocklist; request delisting if needed.
  • Verify rDNS (PTR) points to the sending hostname.
  • If you have access, review mail logs and the Mail Queue for patterns.

How to Fix Common cPanel Email Errors (Step-by-Step)

1) 550 “Relay not permitted” or “Authentication required”

Cause: You’re attempting to send without SMTP authentication or with incorrect credentials.

  • Enable “My outgoing server (SMTP) requires authentication” in your mail client.
  • Username should be the full email address (e.g., user@domain.com).
  • Outgoing server: mail.domain.com; Port 465 (SSL) or 587 (STARTTLS); Authentication: Normal/Password.
  • Reset the email password in cPanel if unsure (Email Accounts > Manage).

2) 535 “Incorrect authentication data” or 503 “Bad sequence of commands”

Cause: Wrong password, incorrect encryption, or misordered SMTP handshake.

  • Re-enter credentials; ensure TLS type matches port (465=SSL/TLS, 587=STARTTLS).
  • Delete and re-add the account in your mail client to clear cached settings.
  • Check server time and SSL certificate validity (AutoSSL in cPanel).

3) 552 “Quota exceeded” / Mailbox full

Cause: The mailbox storage limit is exceeded; server rejects mail.

  • In cPanel > Email Accounts > Manage, raise the mailbox quota or set “Unlimited.”
  • Use Email Disk Usage to delete large or old messages (e.g., Sent, Trash, Junk).
  • Enable IMAP archiving or move attachments to cloud storage.

4) 550/554 “SPF/DKIM/DMARC fail” or “Message rejected by policy”

Cause: DNS authentication records are missing, wrong, or too strict (especially with external senders like CRMs or newsletters).

  • Open cPanel > Email Deliverability and “Repair” SPF and DKIM.
  • If using third-party senders, add their include mechanism or sending IPs to SPF.
  • Create a relaxed DMARC to start: p=none; then tune to quarantine/reject after monitoring.
  • Verify that your domain’s MX points to the correct cPanel server if you receive mail locally.
; Example SPF (permit cPanel + a CRM)
@ IN TXT "v=spf1 a mx include:_spf.your-crm.com ~all"

; Example DMARC (monitoring mode)
_dmarc IN TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@domain.com; ruf=mailto:dmarc-fail@domain.com; fo=1; adkim=s; aspf=s"

5) 554 “Rejected by spam filter” / Blacklisted IP

Cause: Your server IP or domain has a poor reputation or triggered content/spam filters.

  • Scan the account for malware or compromised scripts (CMS plugins, contact forms).
  • Rotate credentials for all email users; enable 2FA in webmail if available.
  • Reduce sending rate and avoid spammy content (large images, URL shorteners, all-caps).
  • Check blocklists and request delisting after securing the account.
  • Ask your host to review IP reputation or provide a clean IP/smarthost if needed.

6) 421/451 “Temporary local problem” or “Connection timed out”

Cause: Remote server throttling, DNS resolution issues, firewall blocks, or local server load.

  • Retry later; many 4xx errors clear automatically.
  • Ensure your domain resolves properly (A, MX) and rDNS is configured.
  • Confirm your network or hosting firewall isn’t blocking outbound SMTP.
  • Contact your host to check the mail queue and server health.

7) SSL/TLS mismatch or certificate warning in mail clients

Cause: The mail client uses a hostname that doesn’t match the certificate.

  • Use mail.domain.com in both incoming and outgoing servers.
  • Run AutoSSL in cPanel and ensure mail.domain.com is covered.
  • Avoid raw server hostnames unless the certificate matches that hostname.

8) Webmail errors (Roundcube) or “Connection to storage server failed”

Cause: Quota, permission, or IMAP (Dovecot) service interruptions.

  • Free up space via Email Disk Usage.
  • Repair mailbox indexes by moving/deleting heavy folders (Trash/Junk) and re-logging.
  • If you have WHM/root, restart Dovecot/Exim; otherwise, ask your host.

9) “No reverse DNS (PTR)” bounce

Cause: The sending IP lacks a valid PTR pointing to a hostname that resolves back.

  • Only your hosting/network provider can set PTR. Open a support ticket asking them to set rDNS to your server’s mail hostname (e.g., server.yourhost.com).
  • Ensure the forward A record for that hostname exists and matches the same IP.

Verify DNS and SMTP with Simple Tests

Use these quick checks to validate records and TLS. Replace domain.com and hostnames with your details.

# Check MX, SPF, DKIM, DMARC (from your PC or server)
dig +short MX domain.com
dig +short TXT domain.com
dig +short TXT default._domainkey.domain.com
dig +short TXT _dmarc.domain.com

# Test SMTP STARTTLS
openssl s_client -connect mail.domain.com:587 -starttls smtp -servername mail.domain.com

# On cPanel/WHM servers (root):
tail -f /var/log/exim_mainlog
exim -bp    # View mail queue
exim -Mvh <message-id>  # View headers for a queued message

Correct Mail Client Settings (Outlook/Apple Mail/Thunderbird)

  • Incoming (IMAP): mail.domain.com, Port 993, SSL/TLS.
  • Incoming (POP3): mail.domain.com, Port 995, SSL/TLS.
  • Outgoing (SMTP): mail.domain.com, Port 465 (SSL/TLS) or 587 (STARTTLS).
  • Authentication: Required for SMTP; username is full email address.
  • Security: Do not use “None.” Always enable SSL/TLS or STARTTLS.

Configure SPF, DKIM, and DMARC in cPanel

cPanel’s Email Deliverability tool automates most DNS entries. After your domain’s DNS points to the correct zone (either at your cPanel server or externally), add/repair these records:

  • SPF: Lists systems allowed to send for your domain. Add include mechanisms for each external sender (CRM, newsletter, transactional provider).
  • DKIM: Cryptographically signs mail. Enable in cPanel; publish the TXT selector record.
  • DMARC: Instructs receivers how to handle failed SPF/DKIM. Start with p=none, analyze reports, then progress to quarantine/reject.
; Minimal reliable set
@          IN TXT "v=spf1 a mx ~all"
default._domainkey IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqh..."
_dmarc     IN TXT "v=DMARC1; p=none; rua=mailto:dmarc@domain.com; adkim=s; aspf=s"

Tip: If your website sends email via forms or apps, avoid PHP’s mail() without authentication. Use SMTP with authentication. Libraries like PHPMailer or an SMTP plugin in WordPress increase deliverability and traceability.

// PHPMailer example (simplified)
$mail->isSMTP();
$mail->Host       = 'mail.domain.com';
$mail->Port       = 587;
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$mail->SMTPAuth   = true;
$mail->Username   = 'user@domain.com';
$mail->Password   = 'strongpassword';
$mail->setFrom('user@domain.com', 'Website');

Best Practices to Prevent Future Email Issues

  • Use strong, unique passwords for all mailboxes; rotate periodically; enable 2FA in webmail when available.
  • Limit bulk sends; throttle and segment campaigns. Never purchase lists.
  • Keep WordPress, themes, and plugins updated to prevent spam infections.
  • Enable SpamAssassin/Apache SpamAssassin in cPanel and fine-tune thresholds.
  • Monitor DMARC reports and adjust policies as you gain confidence.
  • Audit Email Disk Usage monthly to avoid quota surprises.
  • Document mail client settings and standardize across your team.

How to Test Email Deliverability (Before You Send)

  • Send to multiple providers (Gmail, Outlook, Yahoo) and compare inbox vs. spam placement.
  • Check message headers at the recipient to confirm SPF, DKIM, and DMARC pass.
  • Review bounce responses; 5xx are permanent, 4xx are temporary—retry later.
  • Scan content: minimize links, avoid URL shorteners, balance text and images, and add a plain‑text part.

When to Contact Your Host (and How YouStable Helps)

Escalate to your hosting provider if you suspect IP reputation issues, need rDNS (PTR) configured, see persistent 4xx delays, or cannot repair SPF/DKIM/DMARC due to DNS delegation. At YouStable, our cPanel experts help configure Email Deliverability, set secure SMTP, analyze mail logs, and work with network teams on rDNS and reputation so your messages reach the inbox.

FAQs

Why are my emails not sending from cPanel?

Common causes include disabled SMTP authentication, wrong ports or TLS settings, mailbox quota limits, or DNS issues (SPF/DKIM/DMARC). Test with webmail, confirm SMTP auth in your client, and use cPanel’s Email Deliverability to repair DNS. If bounces persist, check blacklists and ask your host to review the mail queue and server reputation.

What are the correct cPanel email port settings?

IMAP: 993 (SSL). POP3: 995 (SSL). SMTP: 465 (SSL) or 587 (STARTTLS). Always use authentication with the full email address as the username and enable SSL/TLS. Avoid unencrypted ports (110, 143, 25) for client connections.

How do I fix SPF and DKIM in cPanel?

Go to cPanel > Email Deliverability. Click “Repair” next to your domain to auto-add SPF and DKIM. If you send through third-party services, add their “include” or IPs to your SPF record and publish any DKIM keys they provide. Recheck after DNS propagates (usually minutes to a few hours).

How can I clear email storage or fix “mailbox full”?

Open cPanel > Email Disk Usage, select the mailbox, and bulk-delete large or old emails in folders like Sent, Trash, and Junk. You can also increase the quota under Email Accounts > Manage. Consider archiving older mail locally or in a separate IMAP archive.

What should I do if my server IP is blacklisted?

Secure all accounts (password reset, malware scan), reduce sending volume, and correct SPF/DKIM/DMARC. Request delisting from the specific blocklist once the issue is resolved. If reputation doesn’t recover, ask your host—YouStable can assist with remediation steps and, where appropriate, alternatives for reliable outbound delivery.

Deepika Verma

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top