Some exim commands for cPanel server


April 28th, 2008

Here are some exim commands which may help system administrators.

To check how many emails are in the exim mail queue the command is:

exim –bpc

Check frozen emails in the mail queue by the command:

exim –bp | grep frozen

Number of frozen emails in the mail queue:

exim –bp | grep frozen | wc –l

Delete frozen emails from the exim mail queue:

exim -bp | awk ‘$6 == “frozen” {print $3}’ | xargs exim –Mrm

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment