Symptoms
When creating a new Ubuntu 22 server, Exim fails to install due to an existing package. As a result, failure notifications regarding the Exim service are sent.
Example error:
[2025-03-22 19:00:00 +0000] W The “/usr/bin/dpkg -i --force-confold --force-confmiss cpanel-exim_4.96.2-2.cp108~u20_amd64.deb” command (process 93211) reported error number 1 when it ended. dpkg: regarding cpanel-exim_4.96.2-2.cp108~u20_amd64.deb containing cpanel-exim:
[2025-03-22 19:00:00 +0000] sendmail-bin conflicts with mail-transport-agent
[2025-03-22 19:00:00 +0000] cpanel-exim provides mail-transport-agent and is to be installed.
Procedures
- Access the WHM interface via the root user and navigate to Terminal. "Server Configuration / Terminal"
- Remove sendmail-bin
apt remove sendmail-bin
- Run cPanel's check_cpanel_pgks script
/usr/local/cpanel/scripts/check_cpanel_pkgs --fix
Comments
0 comments
Article is closed for comments.