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!

EXIM Custom Filter help

Discussion in 'E-mail Discussion' started by Secmas, Aug 6, 2017.

Tags:
  1. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    330
    Likes Received:
    1
    Trophy Points:
    168
    Hi,
    I have created the following EXIM Custom Filter but is not working, can you help me to find where is my issue?

    Here is the code:
    I have also tried with escaping dot like "\\." and escaping "\\>" as well, but the same with no luck.

    Thank you,
    Sergio
     
    #1 Secmas, Aug 6, 2017
    Last edited: Aug 6, 2017
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    674
    Likes Received:
    224
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    330
    Likes Received:
    1
    Trophy Points:
    168
    Hi rpvw,
    before asking here, that was one of the many pages that I have been looking to help with my error but with no luck.
    Thought that maybe some one could give a help pointing out my error, but seems it is not the way you do for help others.
    But any way I thank you for your comment.
    Regards,
    Sergio
     
  4. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    674
    Likes Received:
    224
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Couple of thoughts:

    You don't say what level you are writing this filter for, but it has to be a system filter (global) rather than a user filter as the "fail"command is only available to administrative levels.

    I also wonder if you should be using "matches" instead of "contains" - it is the only test that mentions interpreting a regular PCRE expression in the second string.

    Sorry I can't be more helpful :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,793
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You may want to review some of the custom filter rules discussed on the following thread to see if they work for this purpose:

    Need to filter ALL email

    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