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!

cpanel_exim_system_filter_custom syntax

Discussion in 'E-mail Discussion' started by asmithjr, Aug 21, 2015.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    506
    Likes Received:
    4
    Trophy Points:
    168
    I amy trying to use they cpanel_exim_system_filter_custom to stop deliveries of certain domain tlds and was wondering if this is the proper syntax or if there is another method
    example:
    Code:
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".date")
    or ("$h_from:" contains ".date")
    then
    seen finish
    endif
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".review")
    or ("$h_from:" contains ".review")
    then
    seen finish
    endif
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".party")
    or ("$h_from:" contains ".party")
    then
    seen finish
    endif
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".faith")
    or ("$h_from:" contains ".faith")
    then
    seen finish
    endif
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".uno")
    or ("$h_from:" contains ".uno")
    then
    seen finish
    endif
    if first_delivery
    and ("$h_to:, $h_cc:" contains ".xyz")
    or ("$h_from:" contains ".xyz")
    then
    seen finish
    endif
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,726
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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