Skip to content

How to Fix Plesk Mail Errors — Email Not Sending or Receiving

DodaTech Updated 2026-06-24 1 min read

In this tutorial, you'll learn about How to Fix Plesk Mail Errors. We cover key concepts, practical examples, and best practices.

The Problem

Email is not working:

SMTP: Authentication failed.

or:

Mail queue is stuck.

Quick Fix

Step 1: Check mail service status

systemctl status postfix
systemctl status dovecot

Step 2: Flush the mail queue

# Postfix queue:
postqueue -p
postsuper -d ALL  # Delete all queued messages
postfix flush

Step 3: Fix SMTP authentication

Plesk > Domains > example.com > Mail Settings

Ensure "SMTP authentication" is enabled.

Step 4: Check mail logs

tail -100 /var/log/maillog

Step 5: Configure SPF and DKIM

Plesk > Domains > example.com > Mail Settings > Add SPF/DKIM record

Step 6: Fix recipient rate limits

Plesk > Tools & Settings > Mail > Mail Settings

Increase the outgoing message rate limit if needed.

Prevention

  • Enable SPF, DKIM, and DMARC for all domains.
  • Monitor the mail queue daily.
  • Keep Postfix and Dovecot updated.

Common Mistakes with mail error

  1. Using foldl instead of foldl' causing stack overflow on large lists
  2. Forgetting deriving (Show, Eq) on custom data types needed for debugging
  3. Placing the wildcard pattern first in case expressions, making all subsequent patterns unreachable

These mistakes appear frequently in real-world PLESK code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.

Practice Exercise

Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.

This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.

FAQ

### What is the difference between Postfix and Dovecot?

Postfix sends mail (SMTP). Dovecot receives and stores mail (IMAP/POP3). Both are needed for a complete mail server.

Why are my Plesk emails going to spam?

Missing SPF/DKIM records, the server IP has a poor reputation, or the email content triggers spam filters. Set up all DNS records and monitor your IP reputation.

Built by the developers of DodaTech

Doda Browser, DodaZIP & Durga Antivirus Pro