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.

Blocking Entire domains .work, .click, .science, .eu

Discussion in 'E-mail Discussions' started by AngelaH, Mar 30, 2015.

  1. AngelaH

    AngelaH Registered

    Joined:
    Mar 30, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    California
    cPanel Access Level:
    Website Owner
    I'm new to C-panel and clearly I'm not blocking correctly.
    I tried "ends with" .work, .click, and .science, .eu
    I tried "equals and contains: .work, .click, .science, .eu

    And the emails have been blocked but so has my main client's email address which is
    Work______.Com and my science e-magazines: for example: ScienceForce.com
    And any other email with "EU" in it for example: MEurope@____.
    So clearly the "." dot is not relevant for "exact match".

    I'm not a programmer. I can't figure out and don't want to put in elaborate strings or code.
    I just want to be able to completely block emails from these domains:
    .work, .click, .science, .eu (and I'm sure others will follow) from my website without blocking legitimate emails.

    Please advise with a user-friendly, easy, way to do this for a novice just tying to keep my spam down form 550+ per day to real email.

    THANK YOU in advance.
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,145
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. TheDjinn

    TheDjinn Member

    Joined:
    Dec 9, 2014
    Messages:
    23
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Use exact match and use *@* with whatever domains you want to blacklist.

    Example: *@*.eu will block all emails coming from .eu domains.

    * is a wild card symbol and basically means anything.

    Repeat for other domains.

    If you're truly worried about spam an security. Take a look at these guys.

    http://www.configserver.com/

    I recommend Mailscanner with frontend and ConfigServer Firewall. Both are an admins best friend and an absolute must for controlling spam and preventing intrusions.

    Hope that helps,

    Edited for clarity
     
    #3 TheDjinn, Apr 1, 2015
    Last edited: Apr 1, 2015
    SageBrian likes this.
  4. WrightBrain

    WrightBrain Registered

    Joined:
    Aug 6, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pennsylvania
    cPanel Access Level:
    Website Owner
    Hey all,

    I am using cPanel through Arvixe, my hosting company. I am running into the same issues as Angela above. I have tried the Global Email Filter using a wildcard, but it still doesn't seem to work.

    The rule is written as such...

    From equals
    *@*.work
    Delivers to Folder
    /domain.net/postmaster

    And it doesn't work. All emails from "@example.work" keep coming through. Is there an issue on Arvixe where wildcards won't work. Is there something else I can try? What are the limitations from Arvixe's implementation?

    Thanks
     
    #5 WrightBrain, Aug 6, 2015
    Last edited by a moderator: Aug 6, 2015
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can review the post from my last response for examples of the types of entries you can use. The referenced thread is for a global Exim filter, but you can still get an idea of what type of rules to implement through cPanel for your specific account.

    Thank you.
     
  6. SBPabloP

    SBPabloP Registered

    Joined:
    Sep 21, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Santa Barbara. CA
    cPanel Access Level:
    Root Administrator
    Hey,

    It seems like the above advice is about adding code to root files, not about using the Cpanel interface, which is what I'm trying to do as well.

    If you are using account level filtering, I don't know if wildcards work, I've got a question in with support on that. I do know that periods (.) are ignored.

    I have the most luck using "Any Heading" "Contains" and then put what you want. However, if you put .work, the period is ignored, so in this case you may need something else. Maybe "From" "Contains" "work".


    Are yo using account level filtering?

    Paul



     
Loading...

Share This Page