Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Block Spam from .ru domains?

Discussion in 'E-mail Discussion' started by Moobs, Apr 18, 2019.

  1. Moobs

    Moobs Member

    Joined:
    Mar 21, 2017
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    The last couple days I have been getting a ton of russian spam and nothing I've tried has helped much. I've been trying to tweak spamassassin's local.cf to filter this, but I'm still getting quite a bit of spam.

    I've been through the documentation, but I haven't seen anything to filter out cyrillic in the body of the email as the header filter is being bypassed. This is what I have added:


    ok_languages da nl en fr de it es
    ok_locales da nl en fr de it es no pt el

    header LOCAL_CHARSET_RUSSIAN Subject:raw =~/\=\?koi8-r\?/i
    score LOCAL_CHARSET_RUSSIAN 7
    describe LOCAL_CHARSET_RUSSIAN Contains russian charset that is not acceptable

    blacklist_from *@*.ru


    I'm still receiving emails in my inbox from .ru tlds as well. Not sure why this hasn't been working and I have restarted spamassassin after each change was well.

    I've also tried the global filter in Cpanel by adding a new rule to block from @*.ru and I'm still getting a few hundred emails a hour from .ru TLDs.
     
    #1 Moobs, Apr 18, 2019
    Last edited: Apr 18, 2019
  2. Moobs

    Moobs Member

    Joined:
    Mar 21, 2017
    Messages:
    9
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    All set, this is all working. The majority of spam was being generated through an alternate freshdesk email - Removed - not Cpanel.
     
    #2 Moobs, Apr 18, 2019
    Last edited by a moderator: Apr 18, 2019
    Infopro likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice