[exim] Local_scan before antivirus scan

Top Page
Delete this message
Reply to this message
Author: Cronfy
Date:  
To: exim-users
Subject: [exim] Local_scan before antivirus scan
Hello.

I am using exim 4.62 for spam scanning with it's local_scan function
and I want to use same exim daemon to scan messages for viruses too.
There are no problems with setting this up, but there is one performance
trouble: we meet spam messages much more often than virus messages,
so it would be smart to scan for spam *before* virus scan. But local_scan
is called *after* all ACLs, thus it seems to be no solution to filter
"spam then viruses" inside one exim daemon.

At this time I have to receive and filter spam with one mail server and then
forward messages to another one. This gives me no way to reject virus messages
in SMTP session.

Are there any solutions to run local_scan before DATA ACL or inside DATA ACL
or somehow else.. just to make exim to look for spam before viruses?

Thanks in advance!
--
Cronfy.