cPanel Forums

Hi, I'm trying to create a custom exim filter that will reject outgoing emails with specific text in the subject line. I've created a new filter /usr/local/cpan

Exim Custom Filter for outbound messages

Hi,

I'm trying to create a custom exim filter that will reject outgoing emails with specific text in the subject line.
I've created a new filter /usr/local/cpanel/etc/exim/sysfilter/options/server_custom_filter

Code:
if ("$h_subject:" contains "Custom Text")
then
  fail text "Email subject blocked by keyword"
  seen finish
endif
And restart exim, but it's not blocking the outound emails.

Do I need to rebuild /etc/cpanel_exim_system_filter, If so how? I don't see any refrence to...

Exim Custom Filter for outbound messages
+ نوشته شده در  ساعت 14:20  توسط generator  برچسب ها: