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.

All email stuck in queue unless manually pushed out

Discussion in 'E-mail Discussions' started by stingray34, Nov 8, 2013.

  1. stingray34

    stingray34 Member

    Joined:
    Sep 6, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am having problem with EXIM. All incoming and outgoing mail stay in queue, and I have to manually push them for delivery.

    The server load is not high, and it has enough disk space, but the overall response is slow. How can I make the system deliver it automatically, without me pushing?
     
  2. MikeDVB

    MikeDVB Well-Known Member
    PartnerNOC

    Joined:
    Jun 4, 2008
    Messages:
    212
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Indiana, USA
    It depends on why the messages are being stuck in the queue. You should check /var/log/exim_mainlog to see why.
     
  3. stingray34

    stingray34 Member

    Joined:
    Sep 6, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I got to open the log, but I don't know how to read it. Could you tell me what I look for?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can search for a specific email address in /var/log/exim_mainlog with a command such as:

    Code:
    exigrep user@domain /var/log/exim_mainlog
    Search for an email address that you notice has a message in the queue. The log should indicate why the first delivery attempt failed.

    Thank you.
     
  5. stingray34

    stingray34 Member

    Joined:
    Sep 6, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have no idea about what happened. The server response was extremely slow, and that was the reason for mails in queue. The next morning, everything was cleared.

    At the time when they were stuck, Load Average showed about 10. I did not know it was a high number, and thought that CPU usage was 10%. I need to have myself familialized with WHM and Linux environment.

    According to the CPU usage log, here is the major difference between then and now:
    default user in OUR DOMAIN 45% vs 3%
    nobody 8% vs 1%

    Does this mean our website was attacked, and it affected the EXIM?
    If you can help me pinpoint the cause of the problem, I would really appreciate it.

    Thank you very much for all your responses.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's likely the load was above the threshold for which Exim will deliver emails. The best way to resolve this type of issue in the future is to troubleshoot the load issue directly. The following thread is useful for help with load issues:

    Troubleshooting High Load on Linux Systems

    Thank you.
     
  7. stingray34

    stingray34 Member

    Joined:
    Sep 6, 2013
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Michael,
    Thank you very much. I will check the link.
     
Loading...

Share This Page