TechBuzzPro

Plesk Email Queue Stuck? Fix It Step by Step

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

A stuck Plesk email queue is almost always caused by a temporary delivery failure, a full disk, or a mail server service that has stopped. The quickest fix is to open Tools & Settings > Mail Server in Plesk, check the Mail Queue, and either flush the queue or restart the mail service. If the queue still does not drain, work through the checks below in order.

What You'll Need

  • Plesk administrator login (the queue tools are not available to regular mailbox users).
  • Access to the server via SSH or the Plesk File Manager, in case you need to inspect logs or free disk space.
  • The email address or domain that is generating the stuck messages, so you can target the right mailbox.
  • A basic idea of whether the server sends mail directly or through a relay/smarthost, since that changes where you look for the cause.

Step-by-Step

  1. Open the Mail Queue in Plesk. Log in to Plesk, go to Tools & Settings (some versions label it Server Management), then click Mail Server and open the Mail Queue tab. Menu labels can differ slightly by Plesk version and theme, so if you do not see Mail Server, look under the server-wide tools section. The queue lists each message with its sender, recipient, size, and the time it was queued.
  2. Read the queue status before deleting anything. A message that has been in the queue for a few minutes is normal. A message that has been there for hours or days, especially with many copies to the same recipient, points to a delivery problem. Note whether the stuck messages are outgoing (from your domains) or incoming. Outgoing messages stuck in the queue usually mean the remote server is refusing them or your server cannot resolve the destination.
  3. Try a flush first. In the Mail Queue screen, select the stuck messages and use the option to flush or retry delivery. This asks the mail server to attempt delivery again immediately instead of waiting for the next retry interval. If the queue drains, the problem was temporary and no further action is needed.
  4. Check disk space. A full partition is one of the most common reasons a queue stops moving, because the mail server cannot write new files. In Plesk, open Tools & Settings > Server Information or use the dashboard widget to check disk usage. From SSH, run df -h and look at the partition holding /var or the mail directory. If it is near 100%, free space by removing old backups, logs, or unused files, then flush the queue again.
  5. Restart the mail server service. In Plesk, go to Tools & Settings > Services (or Server Management > Services) and restart the mail server service. If you use SSH, the service name depends on the mail server Plesk installed: commonly postfix or qmail. Use your server's service manager to restart it. Restarting clears transient locks and reloads configuration.
  6. Check the mail log for the actual error. The queue screen tells you messages are stuck, but the log tells you why. On a Postfix-based server the log is usually /var/log/maillog or /var/log/mail.log; on qmail-based servers look in /usr/local/psa/var/log/maillog. Search for the recipient address or for words like deferred, rejected, or timeout. Typical causes are DNS resolution failures, a destination server rejecting your IP, authentication failures against a relay, or a mailbox that no longer exists.
  7. Verify DNS and relay settings if messages are deferred. If the log shows connection timeouts or name resolution errors, confirm the server can resolve external hostnames and that its own DNS records (including SPF and PTR) are correct. If you send through a smarthost, open the mail server settings in Plesk and confirm the relay hostname, port, and credentials are still valid. A wrong relay password will queue every outgoing message.
  8. Remove only messages you are sure about. If a single mailbox is generating thousands of stuck messages (for example from a compromised account or a runaway script), select those messages and delete them from the queue. Before deleting, confirm the sender address so you do not remove legitimate mail. If you suspect a compromised mailbox, change its password immediately.
  9. Confirm the queue is empty and test delivery. After flushing or fixing the cause, reload the Mail Queue page and check that the count drops to zero. Send a test message from one of your mailboxes to an external address and confirm it arrives. If it does, the queue is healthy again.

Common Mistakes

  • Deleting the whole queue immediately. This destroys legitimate messages and hides the underlying cause. Flush and read the log first.
  • Restarting services without checking disk space. If the disk is full, the mail server may fail to start again, turning a queue problem into an outage.
  • Ignoring a single compromised mailbox. A hacked account sending spam will refill the queue within minutes of every flush. Fix the account, not just the queue.
  • Assuming the queue screen shows the full error. Plesk shows status, not the detailed SMTP response. Always cross-check the mail log.
  • Changing relay settings without noting the old values. If the new settings are wrong, every outgoing message queues. Keep a record before editing.

Tips

  • Set up disk space monitoring in Plesk so you are warned before the mail partition fills.
  • Check the queue at the same time each day after a spam incident; it is the fastest way to spot a mailbox that is still sending.
  • Keep the mail log for a few days so you can compare a healthy queue with a stuck one.
  • If you use a relay, test its credentials separately before assuming Plesk is at fault.
  • Document your mail server type (Postfix or qmail) so you know which log path and service name to use during an incident.

Troubleshooting

The queue flushes but refills immediately. Something is still generating mail: a compromised mailbox, a contact form being abused, or a cron script. Disable the sending source, change the mailbox password, and then flush again.

Messages are stuck with a connection timeout in the log. The server cannot reach the destination. Check outbound connectivity, firewall rules, and DNS resolution. If your host blocks port 25, outgoing mail will queue until you use a relay on an allowed port.

The mail service will not restart. Check disk space and the service's own error log first. A full disk or a corrupted queue file can prevent startup; free space and inspect the log before trying again.

Only one domain's mail is stuck. The problem is likely that domain's DNS, its mailbox configuration, or a script on its hosting. Compare its settings with a working domain on the same server.

You deleted messages by mistake. Queue deletions are permanent. Check whether the sender has copies in their Sent folder and ask them to resend if the message matters.

Frequently Asked Questions

Where is the mail queue in Plesk?

Under Tools & Settings > Mail Server > Mail Queue. The exact path can vary slightly by Plesk version and theme.

Is it safe to delete messages from the Plesk mail queue?

It is safe for the server, but the messages are gone permanently. Delete only after you have identified why they are stuck.

Why does my Plesk queue keep filling up?

Usually a compromised mailbox sending spam, a broken relay configuration, or a script on a hosted site generating mail. The mail log shows the sender and the error.

Can a full disk stop email delivery in Plesk?

Yes. If the partition holding the mail queue is full, the mail server cannot write new messages and delivery stalls until space is freed.

Do I need root access to clear the queue?

No. A Plesk administrator can flush and delete queue entries from the panel. SSH access is only needed for logs and disk checks.

How do I know the queue is fixed?

The queue count returns to zero and a test message to an external address arrives normally.