Symptoms
You have configured your cPanel server to use MailChannels as a smart host.
When attempting to send messages, you see errors regarding DKIM that may look similar to the following in the Exim log:
/var/log/exim_mainlog:
2021-03-01 11:27:36 1lMABe-0001y3-Bw unable to open file for reading: /var/cpanel/domain_keys/private/example.tld
2021-03-01 22:43:12 1lMAhg-0007WO-Rd Tainted filename '/var/cpanel/domain_keys/private/example.tld'
Your server's Exim version is Exim 4.94. You can check this with the following command:
[root@server ~]# whmapi1 installed_versions packages=1|grep exim:
exim: 4.94-1.cp1194
Description
With cPanel version 94.0.0 being released to current, this includes an update of Exim. Exim will be upgraded to version 4.94 as part of the cPanel update. This version of Exim is included in the cPanel update tier "CURRENT." Exim changed how filenames are handled in some instances. One of the changes causes the tainted filename error to occur during the expansion of the specified file variables. This issue is a defect in Exim that has not yet been resolved at the time of writing this article.
Although this is a defect in Exim, cPanel has an internal tracking case: UPS-315
Workaround
The MailChannels support team has published a workaround for this issue under the "Known Issues" section here: