eim/amavis/clamav/cpanel server config question
My sysadmin has installed clam-av and amavis on my cpanel servers. In exim.conf he has replaced the "standard" cpanel antivirus.exim filtering with antivirus.clam.exim filtering.# system_filter = /etc/antivirus.exim
system_filter = /etc/antivirus.clam.exim
The contents of that file are below. AFAIK this will see exim filter all email handled by exim. What I would like to do is have the amavis/clam-av filtering only performed on mail for local delivery to localdomains (to cut down on server load but still provide this service to my valued clients).
Any ideas?

Code:
# Exim filter
# $Id: exim.filter,v 1.3 2001/11/02 22:52:42 bengen Exp $
# drop out error messages here
if $received_protocol is "no-scan"
then
finish
endif
if ${perl{amavis_filter_scan}{$message_id}{$sender_address}{$recipients}}
is "drop"
then
seen finish
elif ${perl{amavis_filter_result}} is "fail"
then
fail "${perl{amavis_filter_text}}"
elif ${perl{amavis_filter_result}} is "freeze"
then
freeze "${perl{amavis_filter_text}}"
elif ${perl{amavis_filter_result}} is "accept"
then
headers add "X-Virus-Scanned-By: Amavis with \
${perl{amavis_virus_scanner_list}} on ${primary_hostname}"
else
freeze "illegal output from amavis_filter_result: \
${perl{amavis_filter_result}}"
endif

