cPanel Config

Welcome to cPanelConfig the fastest growing cPanel configuration and troubleshooting guide on the internet. Please take the time and register. We would love to have your contribution to this completely free cPanel resource. We are updating this daily so be sure to visit us on a regular basis.

exim commands

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Posted by copilas12

Hello. I want to share some helpful exim commands for large mailservers:

1. froze messages to recipient root@host.localhost.com

/usr/sbin/exiqgrep -i -r root@host.localhost.com | /usr/bin/xargs exim -Mf

2. delete frozen messages

/usr/sbin/exiqgrep -z -i | /usr/bin/xargs exim -Mrm

3. delete messages older than X hours (X in seconds)

/usr/sbin/exiqgrep -o X -i | /usr/bin/xargs exim -Mrm

4. total messages in queue

/usr/sbin/exiqgrep | /usr/sbin/exiqsumm | grep TOTAL

For other very useful commands, please visit: http://www.skillett.com/index.php/258/hands-on-with-an-exim-cheatsheet. Thanks Keiron.

Share this: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Netvouz
  • description
  • ThisNext
  • MisterWong
  • Wists
  • De.lirio.us
  • Furl
  • MyShare
  • Smarking
  • Technorati
  • YahooMyWeb

If you enjoyed this post, make sure you subscribe to my RSS feed!

Leave a Reply