Exim Filter on Subject line

mirfan

Active Member
Nov 24, 2008
27
0
51
Hello,

I need to add custom filter in exim.
That whenever i send/receive any email with specific subject than copy of email also come to administrator to check and evaluate the email.

e.g. if email subject contains "Hello" email copy also need to come on address [email protected].

I think i need to add following code on top of exim filter file /etc/cpanel_exim_system_filter

if $header_subject: contains "Hello" or $header_subject: contains "hello"
then
deliver [email protected]
endif

Please let me know i am doing it right or not.