Outgoing Spam Filter
I want to blocked outgoing emails and delivered that emails to specific email id, but it's not working. below are the details:
grep ^system_filter /etc/exim.conf
system_filter_user = cpaneleximfilter
system_filter_group = cpaneleximfilter
system_filter = /usr/local/cpanel/etc/exim/sysfilter/options/cpanel_exim_system_filterif ( $received_protocol is "local" or
$received_protocol is "esmtpa" ) and
($header_from contains "@gmail.com" )
then
deliver "demo@domainname.com"
seen finish
endif-
Hello, Are you getting any error logs in /var/log/exim_mainlog file ? Please check this file though SSH if you have root ssh access. 0 -
There's no error i have already checked, actually this filter is not working for me. Is there any kind of improvement ? i want to blocked all outgoing external emails that would be send to gmail,yahoo etc and if somebody send than it would be delivered to specific local email address. 0 -
You might do better to ask this sort of question on the EXIM user support list: Documentation for Exim This isn't specifically an issue with your cPanel. 0 -
i have implemented successfully with the help of documentation: 3. Exim filter files 0 -
Good to hear, thanks for posting back. 0
Please sign in to leave a comment.
Comments
5 comments