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.

cpanel_exim_system_filter_custom syntax

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

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    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
    
     
Loading...

Share This Page