Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2008
    Posts
    6

    Default Huge Mail Queue

    I constantly have a Mail Queue of at least 300 e-mails. I'm not sure if this is normal - however I'm really starting to get concerned. What can I do to prevent e-mails from queuing up? I have a few e-mails that have been stuck there for up to 52 hours.

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by andrei155 View Post
    I constantly have a Mail Queue of at least 300 e-mails. I'm not sure if this is normal - however I'm really starting to get concerned. What can I do to prevent e-mails from queuing up? I have a few e-mails that have been stuck there for up to 52 hours.
    There are different ways to handle mail queues; for example:
    1.) Determining the reason why e-mails are queued and correcting any problems discovered.
    2.) Adjusting the Exim configuration so queued messages have delivery reattempted more frequently.
    3.) Adjusting the Exim configuration to have older messages expire from the queue sooner.

    I believe option #1 may be the most effective in maintaining the mail queue. Please note that in some instances it may be normal for a system to have a larger mail queue as this depends heavily on the unique server usage and the volume of e-mail traffic that is involved.

    The exim logs are a great resource to determine why a specific message is unable to be sent; the Exim mainlog can be found at the following file system path:
    Code:
    /var/log/exim_mainlog
    If attempting to force delivery of a specific message in the queue, you may monitor the aforementioned log using the following command via root SSH access:
    Code:
    # tail -fvn0 /var/log/exim_mainlog
    If needing to enable more verbose logging I recommend adjusting the "log_selector" directive in the Exim configuration via the Advanced Exim Configuration Editor in WHM; here is an example entry that could be used:
    Code:
    # log_selector = +all -ident_timeout -pid
    Here is the full menu path for WHM where the above directive may be added (in the first text entry box in the Advanced Editor):
    WHM: Main >> Service Configuration >> Exim Configuration Editor >> Advanced Editor

    For more detailed information about the aforementioned "log_selector" directive and what options it has please refer to the official Exim documentation that includes full usage information: Specification of the Exim Mail Transfer Agent: 49. Log files - 49.15. Reducing or increasing what is logged

Similar Threads & Tags
Similar threads

  1. Difference between ConfigServer Mail Queue and Mail Queue Manager
    By fearmydesign in forum E-mail Discussions
    Replies: 4
    Last Post: 02-28-2011, 06:48 PM
  2. Replies: 4
    Last Post: 02-28-2011, 06:48 PM
  3. Replies: 2
    Last Post: 12-20-2007, 12:29 AM
  4. Mail Queue with a Huge msg.
    By SupermanInNY in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-01-2004, 04:37 PM
  5. huge mail quene
    By saifullah in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-04-2003, 02:32 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube