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.

Stopping Spam from .eu Email Addresses

Discussion in 'E-mail Discussions' started by outtacontext, Oct 4, 2014.

  1. outtacontext

    outtacontext Member

    Joined:
    Oct 4, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I'm a website owner using and ISP that uses cPanel. I am trying to stop the huge amount of spam that is coming in from email addresses from .eu.

    I've created cPanel spam filters for the IP addresses but that could take me forever as these emails come in from new IPs all the time.

    Instead I was trying to do a regex to discard any emails that came in from .eu. I created a rule for all email accounts but .eu emails are still getting through. Here's the rule I created:

    Screen Shot 2014-10-04 at 9.03.43 AM.png

    Can someone recommend a better rule or another method for filtering .eu spam and discarding it? Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you enabled SpamAssassin? Note that you may want to report this issue to your web hosting provider so they can address this issue with a global filter or a modification to the Exim configuration.

    Thank you.
     
  3. outtacontext

    outtacontext Member

    Joined:
    Oct 4, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I do have SpamAssassin and I have configured the blacklist in the cPanel for various domains. But I want to blacklist an entire TLD. So would the syntax be *.eu?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. outtacontext

    outtacontext Member

    Joined:
    Oct 4, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thank you but I didn't understand how I could get to that area of my shared server to make the file.

    Can you or someone just answer my last question? I want to know if there is a way of blocking a TLD on a web screen within the cPanel SpamAssassin (without going into the file structure). If the answer is "no," I will have to contact my ISP to get more information. But if I can do it within the cPanel that would be my first choice. Thanks.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, per our documentation:

    Source:

    Apache SpamAssassin

    Thank you.
     
  7. outtacontext

    outtacontext Member

    Joined:
    Oct 4, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thank you. But my question was how to block an entire TLD, not just a domain. So, can you either point me to the documentation that outlines the syntax for that or provide the syntax that I can use to set up a rule. I found out from my ISP that I do not have access to the file structure beyond my home directory on the shared server. So, I have no access to anything related to exim.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  9. outtacontext

    outtacontext Member

    Joined:
    Oct 4, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Thanks. That's helpful.
     
Loading...

Share This Page