Incoming email stops working after v76 upgrade when using third-party Anti-spam DNSBL plugin

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello Everyone!

Systems using the Anti-spam DNSBL plugin by BOates (this is a third-party plugin) will notice that incoming email fails upon upgrading to cPanel & WHM version 76. This occurs because the plugin is not updated to work with the latest SpamAssassin version. Here's an example of the error message visible in /var/log/exim_mainlog on affected systems:

failed to expand ACL string "domain.tld/${perl{trimdomain}{$sender_address_domain}}": Can't locate Mail/SpamAssassin/Util/RegistrarBoundaries.pm in @INC (you may need to install the Mail::SpamAssassin::Util::RegistrarBoundaries module)
Removing the plugin using the plugin developer's uninstall instructions will restore email functionality:

UNINSTALL
1.) Remove the file: /usr/local/cpanel/etc/exim/perl/trimdomain
2.) Remove the snippet previously added to the file: /usr/local/cpanel/etc/exim/acls/ACL_MAIL_POST_BLOCK/custom_begin_mail_post
3.) Rebuild exim.conf by running: /scripts/buildeximconf
4.) Restart Exim by running: /scripts/restartsrv_exim
5.) The DNSBL is now entirely uninstalled
You can read more about why this plugin no longer works in version 76 at:

Anti-spam DNSBL by BOates [DOES NOT WORK WITH SPAMASSASSIN 3.4.2 or later in v76+]

Let us know if you have any questions.

Thank you.