The mail server installed on your cPanel VPS is called Exim. While the mail server doesn’t require much interaction for sending or receiving average volumes of email, there may be times when you need to manage Exim’s settings.
Begin by logging in to your server in a terminal client using Secure Shell (SSH). Use the following Exim commands to manage your mail server.
exim -bpc
exim -bp
Displays time queued, size, message-id, sender and recipient.
exim -bp | exiqsumm
Displays count, volume, oldest, newest, domain, and totals.
exiwhat

exim -bh ipaddress
This spoofs an SMTP transaction emanating from ipaddress. Exim’s status will be displayed as the transaction runs. Note: the message will not be delivered.

exim -bP

exiqgrep -f [luser]@domain
exiqgrep -r [luser]@domain
exiqgrep -o seconds [...]
exiqgrep -y seconds [...]
exiqgrep -s '^4..$' [...]
For example, 400-499 bytes.
exiqgrep -c ...
exim -q -v
exim -ql -v
a
exim -Mrm <message-id> [ <message-id> ... ]
exim -Mf <message-id> [ <message-id> ... ]
exim -Mt <message-id> [ <message-id> ... ]
exim -M <message-id> [ <message-id> ... ]
exim -Mc <message-id> [ <message-id> ... ]
exim -Mg <message-id> [ <message-id> ... ]
exiqgrep -z -i | xargs exim -Mrm
exiqgrep -o seconds -i | xargs exim -Mrm
exiqgrep -i -f luser@example.net| xargs exim -Mf
exim -Mvh <message-id>
exim -Mvb <message-id>
exim -Mvl <message-id>
exim -Mar <message-id> <address> [ <address> ... ]
exim -Mes <message-id> <address>