Some exim commands for cPanel server
January 13th, 2009
Warning: file_get_contents(http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId=1TJ8QTQ6ZFCVAJ3X1T02&AssociateTag=ii0c3-20&Operation=ItemSearch&SearchIndex=Books&ResponseGroup=Small,Images&Keywords=cPanel) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/manusia2/public_html/wp-content/plugins/amazonfeed/php/amazonfeed.class.php on line 271
Here are some exim commands and very useful for system administrator specially for cPanel server.
Check how many queue :
exim –bpc
Check frozen emails in the mail queue :
exim –bp | grep frozen
Print a summary of messages in the queue :
exim -bp | exiqsumm
Number of frozen emails in the mail queue:
exim –bp | grep frozen | wc –l
Checking what Exim is doing right now :
exiwhat
Delete frozen emails from the exim mail queue:
exim -bp | awk ‘$6 == “frozen” {print $3}’ | xargs exim –Mrm
or
exiqgrep -z -i | xargs exim -Mrm
Start a queue :
exim -q -v
well that enough for now.. i will add more later 