====== Exim4 - Message handling ======
===== 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
===== Test how exim will route a given address =====
exim -bt alias@localdomain.com
returns
user@thishost.com
<-- alias@localdomain.com
router = localuser, transport = local_delivery
exim -bt user@thishost.com
returns
user@thishost.com
router = localuser, transport = local_delivery
exim -bt user@remotehost.com
returns
router = lookuphost, transport = remote_smtp
host mail.remotehost.com [1.2.3.4] MX=0
===== Run a pretend SMTP transaction as if it were coming from the given IP address =====
Run a pretend SMTP transaction from the command line, as if it were coming from the given IP address. This will display Exim's checks, ACLs, and filters as they are applied. The message will NOT actually be delivered.
exim -bh 192.168.11.22
===== Display all of Exim's configuration settings =====
exim -bP