The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SpamAssassin doesn't process new TLDs .link .click .rocks (and more)

Discussion in 'E-mail Discussions' started by stormy, Jan 14, 2015.

  1. stormy

    stormy Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    109
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I have been seeing weird cases of obvious spam not being analyzed by Spamassassin, and I found this explanation in uribl.com:

    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.
     
    cPanelDon likes this.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  3. stormy

    stormy Well-Known Member

    Joined:
    Nov 22, 2003
    Messages:
    109
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Can you confirm the correct location of that file?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's under the "/usr/local/cpanel/3rdparty/perl/" directory. For example, on my test system the specific location is:

    Code:
    /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm
    Thank you.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:
    Code:
    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.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page