to fix email (exim) problem, try this step:
1. check from WHM "Service Status" page, if you see exim() then the rpm doesn't know that exim is actually installed (because we reset the RPM database, when we fix RPM database).
it should be showing something like: exim (exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass)
2. ensure again if exim is installed by doing:
#rpm -qa exim
if there is no output, then download the exim rpm here (for trustix 2.2):
http://diff.cpanel.net/exim/4.52-7/t...5pass.i586.rpm
3. and upgrade exim:
#rpm -Uvh exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass.i586.rpm
4. if you get dependecies error, in my case 'rsync', use SWUP to install it:
#swup --install rsync
then re-try upgrading exim.
5. check if exim already installed:
#rpm -qa exim
it should be showing: exim-4.52-7_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass