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!

Global Filter Wildcards

Discussion in 'E-mail Discussion' started by kratos, Jul 3, 2018.

  1. kratos

    kratos Registered

    Joined:
    Jul 3, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    76
    Location:
    USA
    cPanel Access Level:
    Website Owner
    Hello,

    I am trying to combat spam and have traditionally used global filters by setting up Any Header that contains the domain from the sender. However, I want to try something different for some domains that I know I will never want to receive emails from, such as .hu or .ru. Therefore, I want to setup a global filter to either use
    or
    .

    However, I cannot figure out what character is designated as a wildcard. I have tried * and % and neither seems to work. Does anyone know what would be a wildcard?

    Thanks,
    Kratos
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. keat63

    keat63 Well-Known Member

    Joined:
    Nov 20, 2014
    Messages:
    998
    Likes Received:
    44
    Trophy Points:
    28
    cPanel Access Level:
    Root Administrator
    His access level says "website owner", so he may not have access to exim config.

    Kratos
    You could try a regex instead, i found this on google, which seems to mirror what your'e trying to achieve.
    @[:ascii:]+\.tld

    forum.firetrust.com/viewtopic.php?t=15549
    Block entire TLD using RegEx

    The lower few replies seem to have the answer.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,721
    Likes Received:
    186
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @keat63

    The threads were just to give an idea of how to block entire tld's not to use the exim system filter - I should have clarified, thank you!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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