Exim & Vfilters

Why isn't this filter working? In the file "/etc/vfilters/(mydomain).com", it contains the following:
Code:
# Exim filter

if error_message then finish endif

if
 $header_from: contains "MAILER-DAEMON"
 or $header_from: contains "Mail Delivery Subsystem"
 or $header_from: contains "Mail Delivery System"
 or $header_from: contains "NAVMSE"
 or $header_from: contains "System Anti-Virus"
 or $header_subject: contains "Mail delivery failed"
 or $message_body contains "This message has been rejected because it has"
then
 save /dev/null
endif
but the mail still comes in, it seems to bypass the filter. Is there anything in my exim.conf file that I need to change?

Code:
central_filter:
#!!# filter renamed allow_filter
  driver = redirect
  allow_filter
  no_check_local_user
  file = /etc/vfilters/${domain}
  file_transport = address_file
  pipe_transport = virtual_address_pipe
  reply_transport = address_reply
  retry_use_local_part
  user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
  no_verify
Should I remove the "no_check_local_user"? These emails appear to be coming from a local address, due to the sobig virus.

- Matt

 

 

 

 

Top