Force Exim to Upgrade on a Cpanel Server
If an exim upgrade fails use the following to force a fresh upgrade of exim and then check the exim system status
/scripts/eximup –force
service exim status
How to Enable RBL’s in Exim via CPanel/WHM:
The WHM now allows you to enable Spamhaus (zen.spamhaus.org) and SpamCop via the WHM
Login to the WHM
Click Exim Configuration Editor
Check both RBL’s
Save your settings
Exim mail queue commands
Helpful Exim Commands:
/usr/sbin/exim -M email-id => Force delivery of one message
/usr/sbin/exim -qf => Force another queue run
/usr/sbin/exim -qff => Force another queue run and attempt to flush the frozen message
/usr/sbin/exim -Mvl messageID => View the log for the message
/usr/sbin/exim -Mvb messageID => View the body of the message
/usr/sbin/exim -Mvh messageID => View the header of the message
/usr/sbin/exim -Mrm messageID => Remove message without sending any error message
/usr/sbin/exim -Mg messageID => Giveup and fail message to bounce the message to the Sender
/usr/sbin/exim -bpr | grep “<” | wc -l =>Number of emails in the que
/usr/sbin/exim -bpr | grep frozen | wc -l => How many Frozen mails on the queue
/usr/sbin/exim -bpr | grep frozen | awk {‘print $3′} | xargs exim -Mrm => Deleteing Frozen Messages
To flush the exim queue:
1. login to your server via ssh as root.
2. Type: exim -qff