Manage Mail Queue in Exim Cpanel

We can use the following commands from the shell to manage mail Queue in Exim Cpanel.

#exim -bpc        Print a count of the messages in the queue:
#exim -bp        Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient)
#exim -bp | exiqsumm    Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals):
#exiwhat            Print what Exim is doing right now:
#exim -bt alias@localdomain.com    Test how exim will route a given address:

#exim -bh IPadrress    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 -bP        Display all of Exim’s configuration settings:

#exim -Mvl messageID     View Log for message

#exim -Mvb messageID     View Body for message
#exim -Mvh messageID    View Header for message

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *