The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Frustrated with large number of bounces in mail queue

Discussion in 'E-mail Discussions' started by asmithjr, Jul 6, 2015.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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]jomcm@domain.net[/EMAIL]
    (ultimately generated from [EMAIL='lynnmcmillen@domainontheserver.com']someemail@domainontheserver.com[/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.
    
    
     
    #1 asmithjr, Jul 6, 2015
    Last edited by a moderator: Jul 7, 2015
  2. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    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.
     
    #2 24x7ss, Jul 6, 2015
    Last edited by a moderator: Jul 7, 2015
  3. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  6. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    The option is grayed out not letting me choose this option.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Are you sure the option referenced in my reply is greyed out, and not the option below it? Is SpamAssassin enabled on your system?

    Thank you.
     
  8. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    That is how I see it. I attached an image
     

    Attached Files:

  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page