Before I have posted about Reading and Understanding The exim Mainlog. Here is a list of a few commands useful for managing an exim mail server.
Remove all mail in queue over 7 days old
Print a count of the messages in the queue:
Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient):
Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals):
Print what Exim is doing right now:
more exim management commands are available here:
http://bradthemad.org/tech/notes/exim_cheatsheet.php
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