Frustrated with large number of bounces in mail queue

asmithjr

Well-Known Member
Jun 13, 2003
514
6
168
I just moved all the accounts to a new server. I was running MailScanner on the old server. I've cleared the mail queue of all the junk earlier today also and now i see 786 emails in queue. They are all junk of bounces.
What am I doing wrong? It is my understanding if they are in queue then the exim will try and try to deliver them.
Or should I just ignore the fact that there are so many in queue.

typical bounce message:

Code:
[B]Data spool file[/B]
1ZBewe-0006dA-TU-D
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[EMAIL][email protected][/EMAIL]
(ultimately generated from [EMAIL='[email protected]'][email protected][/EMAIL])
host mx.example.com [64.8.71.111]
SMTP error from remote mail server after end of data:
554 5.7.1 [P4] Message blocked due to spam content in the message.
 
Last edited by a moderator:

24x7ss

Well-Known Member
Sep 30, 2014
272
17
68
India
cPanel Access Level
Root Administrator
Twitter
Hello,

Recipient server is blocking mails from your server as your email contains spamvertised words. You should check the header and body and make sure they contain no words which could be considered as spam.

host mx.example.com [64.8.71.111]
SMTP error from remote mail server after end of data:
554 5.7.1 [P4] Message blocked due to spam content in the message.
 
Last edited by a moderator:

asmithjr

Well-Known Member
Jun 13, 2003
514
6
168
i understand that but as I understand also this is a bounce back because of a fail. Unfortunately I have cleared all the emails in the queue.
The emails was sent to a user on the server, it rejected the emails and did a "fail:
This means they sent email to someone on my server, it rejected and then got a bounce back. HA.
The problem however is this sort of thing fills up the queue and is not deleted.
 

asmithjr

Well-Known Member
Jun 13, 2003
514
6
168
my bad.
email sent to user.
user had a forward on.
Email marked SPAM and emails forwarded to external (like gmail)
external refuses email and sends it back.

you get the point. seems a round robin.
But still emails stays in queue, never gets deleted unless host admin deletes them.

should I write a script to check queue and delete if exceeds so many?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
email sent to user.
user had a forward on.
Email marked SPAM and emails forwarded to external (like gmail)
external refuses email and sends it back.
Hello :)

I suggest enabling the following option under the "Apache SpamAssassin Options" tab via "WHM Home » Service Configuration » Exim Configuration Manager":

"Do not forward mail to external recipients if it matches the Apache SpamAssassin™ internal spam_score setting"

Thank you.
 

asmithjr

Well-Known Member
Jun 13, 2003
514
6
168
The option is grayed out not letting me choose this option.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
It's disabled because the option below it at the bottom is enabled. You can disable it and switch to the option above it so the internal spam_score setting is utilized.

Thank you.