Useful Exim Commands

A list of a few commands useful for managing an exim mail server.

# Remove all mail in queue over 7 days old
find /var/spool/exim -atime 7 -exec /bin/rm {} \;

# Print a count of the messages in the queue:
exim -bpc

# Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient):
exim -bp

# Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals):
exim -bp | exiqsumm

# Print what Exim is doing right now:
exiwhat

more exim management commands are available here:
http://bradthemad.org/tech/notes/exim_cheatsheet.php

Post new comment

  • Allowed HTML tags: <b> <br> <p> <a> <strong> <cite> <em> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You may use [img:xx] tags to display uploaded files or images inline.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <css>, <diff>, <drupal5>, <html>, <javascript>, <php>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options