SpamAssassin doesn't process new TLDs .link .click .rocks (and more)
I have been seeing weird cases of obvious spam not being analyzed by Spamassassin, and I found this explanation in uribl.com:
Dec 9th, 2014: .LINK Spam
If you are using SpamAssassin, and are currently getting a bunch of spam with *.link TLDs, it is because those URLs are not being checked against URIBLs. In order to check .LINK URLs, you will need to upgrade your RegistrarBoundaries.pm.
If you are running a recent version of SpamAssassin such as 3.3.2 or 3.4, simply download the RegistrarBoundaries.pm from SpamAssassin SVN and replace the one you currently have installed. Restart spamd if you run it for the change to take effect.
Link to SVN:
/http://svn.apache.org/repos/asf/spamassassin/trunk/lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
How can we fix this on a cPanel server? I don't know the location of the file, or if cPanel will overwrite it with an older version.
How can we fix this on a cPanel server? I don't know the location of the file, or if cPanel will overwrite it with an older version.
-
Hello :) You can try manually replacing the "RegistrarBoundaries.pm" file on your system with the "RegistrarBoundaries.pm" file from the URL that you referenced. However, note that this will trigger a warning from the check_cpanel_rpms script letting you know the RPM files have been modified when cPanel updates occur. Thank you. 0 -
Can you confirm the correct location of that file? 0 -
It's under the "/usr/local/cpanel/3rdparty/perl/" directory. For example, on my test system the specific location is: /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
Thank you.0 -
How are you making out with this, Stormy? I've added this to one of my servers and am cautiously optimistic, so far. :) Forced a cPanel update and got this email (as cPanelMichael said we would), just an FYI here: Problems were detected with cPanel-provided files which are RPM controlled. If you did not make these changes intentionally, you can correct them by running: /usr/local/cpanel/scripts/check_cpanel_rpms --fix The following RPMs are found to be altered from their original install state: cpanel-perl-514-Mail-SpamAssassin,3.004000,1.cp1146,/usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
File is still intact after the update, for now. I may open a Feature Request about this.0 -
Include Latest RegistrarBoundaries.pm in cPanel Provided SpamAssassin RPM - cPanel Feature Requests Thanks for this, Stormy! :) 0 -
This just dropped in EDGE: Fixed case 156589: Update SpamAssassin to 3.004000-3.cp1146 to address missing TLDs Sounds like it will be in CURRENT, Monday, and then on from there: cPanel & WHM Product Versions and the Release Process Go cPanel! 0
Please sign in to leave a comment.
Comments
6 comments