Hi there,
I want to create an Exim filter to redirect messages with one specific text in the body to an specific email.
I have a similar rule to discard messages:
Instead of log and discard, I want to log and redirect to one email, but message cannot be delivered to the original recipient.
I did:
but it's not working... any tips?
Note: I'm changing /etc/cpanel_exim_system_filter_personal (not the original one) and already changed the Exim filter file on WHM.
Thank you.
I want to create an Exim filter to redirect messages with one specific text in the body to an specific email.
I have a similar rule to discard messages:
if $message_body contains "FILTERED TEXT"
then
fail text "Reason filtered text"
seen finish
endif
Instead of log and discard, I want to log and redirect to one email, but message cannot be delivered to the original recipient.
I did:
if $message_body contains "FILTERED TEXT"
then
fail text "Reason filtered text"
deliver "[email protected]"
seen finish
endif
but it's not working... any tips?
Note: I'm changing /etc/cpanel_exim_system_filter_personal (not the original one) and already changed the Exim filter file on WHM.
Thank you.