All emails still stuck in queue after a spam detected and cleaned

cPanel & WHM Version
CENTOS 7.8 kvm

psytanium

Well-Known Member
Jun 6, 2014
205
11
68
Lebanon
cPanel Access Level
Root Administrator
Hello,

3 days ago, 1 of the emails was sending thousands of spams, i suspended the email address, fixed the issue from the client device (He wasn't using the SSL) then changed his password and all is fine.

Lots of emails were stuck on the queue, most of it spams, i cleaned the spams and delivered the others.

But the problem, is now all outgoing emails still stuck on queue, I have to deliver it manually.

Thanks :)
 

ZenHostingTravis

Well-Known Member
PartnerNOC
May 22, 2020
168
55
28
Australia
cPanel Access Level
Root Administrator
The below notes from cPanel's documentation may assist you further.

To release or delete outgoing mail held in the queue, perform the following actions in cPanel's Email Accounts interface (cPanel >> Home >> Email >> Email Accounts):

  1. Click Manage Suspension.
  2. Select Allow for the Send option.
  3. If applicable, click Delete messages from the mail queue to remove any queued messages.
  4. Click Save.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
You can also check the reason the email is queued but obtaining the message ID of a queued message and checking the exim logs. The following is what I use frequently:

Code:
exigrep $msgid /var/log/exim_mainlog
 

andrew.n

Well-Known Member
Jun 9, 2020
330
72
28
EU
cPanel Access Level
Root Administrator
At least we glad to hear its resolved now :)