|
|||
|
Mail Queue - Forcing it to start processing ???
Due to a customer sending out to one of their mailing lists, I have a large number of e-mails in the mail queue since yesterday.
It has stuck at 1,190 e-mails when I check in WHM. I tell it to 'Attempt to deliver all emails', but the figure isn't going down - just going up. Is there anything I can do to get it to start processing them ??? Any help appreciated. Thanks Daniel |
|
|||
|
If you have SSH access, find the message ID's using "exiqgrep -r <recipient>" or "exim -bp", then you can deliver with "exim -M <message ID>".
If you prefer you can use xargs and awk magic to the above automatically... eg. To flush total mail queue: exim -bp | egrep ".*\<.*>.*$" | awk '{print $3}' | xargs -n 1 -P 25 exim -M You can change the -P argument to a high/lower number if you prefer (its the number of processes xargs will open, so the above command will process 25 messages concurrently). eg. To deliver all emails to a domain: exiqgrep -r <domain> | egrep ".*\<.*>.*$" | awk '{print $3}' | xargs -n 1 -P 25 exim -M Last edited by ChrisFirth; 07-03-2009 at 04:12 AM. |
|
|||
|
if we should use SSH and this complix commands when we have errors etc..
WHAT IS THE USE OF WHM??? all this should be in WHM. what is the use of programming if we have to do everything manualy. this problem is with everybody. and it is related to tweak settings in WHM. they should split that tweak settings into parts as they did with apache configuration. |
|
|||
|
Quote:
I can recommend a good plugin to add some light to the problem, since the native Mail Queue Manager is not as intuitive as it may be. Install the Configserver Mail Queues. That script will allow you to have more control over the state of exim queue. After installing, you'll find it in the Plugins section, at the bottom of the WHM menu. Code:
wget http://www.configserver.com/free/cmq.tgz tar -xzf cmq.tgz cd cmq sh install.sh
__________________
Content is king. Functionality is a gift. Usability is God. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Forcing Boxtrapper Queue Delivery | bEgUnDaL | cPanel and WHM Discussions | 6 | 05-14-2009 03:12 AM |
| Mail stopped working, forcing eximup no help | skoker | cPanel and WHM Discussions | 1 | 09-16-2006 03:34 PM |
| Mail Queue Behavior/Processing | kerriritter | cPanel and WHM Discussions | 0 | 04-07-2006 08:31 PM |
| processing mail in PHP | elck | cPanel and WHM Discussions | 2 | 08-28-2005 12:12 PM |
| Forcing Mail Queue | wipl_piyush | cPanel and WHM Discussions | 5 | 03-30-2004 04:34 AM |