cpanel_exim_system_filter_custom syntax

asmithjr

Well-Known Member
Jun 13, 2003
516
8
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