Hello there,
I have many filters in /usr/local/cpanel/etc/exim/sysfilter/options and working good for a while, today I received messages from a blocked emails in those filters.
I reviewed a custom filter file, it looks good.
To make sure: I've added my own email on gmail to this filter, I've sent a test from my Gmail to my email on my server and I received it!
This is the script in filter file:
Note: mygmail and anothermyGmail above are examples, I wrote the actual addresses in the filter file
I tried all the ways I know, e.g.
I left blank line at the top and at the bottom (I've read that somewhere in cPanel forums)
I changed then fail to then save "/dev/null" 660
I deleted the file and recreated it again but still not working
After each try I've made I saved and restarted Exim through: Basic Editor -> Filter, even I rebooted whole system.
While all filters haven't changed and were working fine, what happened?
cPanel V76
Any advice please? Thanks in advance.
I have many filters in /usr/local/cpanel/etc/exim/sysfilter/options and working good for a while, today I received messages from a blocked emails in those filters.
I reviewed a custom filter file, it looks good.
To make sure: I've added my own email on gmail to this filter, I've sent a test from my Gmail to my email on my server and I received it!
This is the script in filter file:
Code:
if ("$h_from:" contains "mygmail")
then fail
endif
if ("$h_from:" contains "anothermyGmail")
then fail
endif
I tried all the ways I know, e.g.
I left blank line at the top and at the bottom (I've read that somewhere in cPanel forums)
I changed then fail to then save "/dev/null" 660
I deleted the file and recreated it again but still not working
After each try I've made I saved and restarted Exim through: Basic Editor -> Filter, even I rebooted whole system.
While all filters haven't changed and were working fine, what happened?
cPanel V76
Any advice please? Thanks in advance.