Cpanel incoming mails are failing, with an error in the exim_mainlog as following:
failed to open db file /var/spool/exim/db/ratelimit: permission denied
The error is appearing due to some permission issues with the exim db or the files are corrupted. These files recreate when the exim restart. Hence, we can do the following:
# delete the db files rm -rf /var/spool/exim/db/* # restart exim service exim restart # fix permission of exim spool chown -Rf mailnull.mail /var/spool/exim chmod 0750 /var/spool/exim
You should be done now.